[][src]Trait artichoke_backend::state::output::Output

pub trait Output: Send + Sync {
    fn as_debug(&self) -> &dyn Debug;
fn write_stdout<T: AsRef<[u8]>>(&mut self, bytes: T) -> Result<()>;
fn write_stderr<T: AsRef<[u8]>>(&mut self, bytes: T) -> Result<()>; fn print<T: AsRef<[u8]>>(&mut self, bytes: T) { ... }
fn puts<T: AsRef<[u8]>>(&mut self, bytes: T) { ... } }

Required methods

fn as_debug(&self) -> &dyn Debug[src]

fn write_stdout<T: AsRef<[u8]>>(&mut self, bytes: T) -> Result<()>[src]

fn write_stderr<T: AsRef<[u8]>>(&mut self, bytes: T) -> Result<()>[src]

Loading content...

Provided methods

fn print<T: AsRef<[u8]>>(&mut self, bytes: T)[src]

fn puts<T: AsRef<[u8]>>(&mut self, bytes: T)[src]

Loading content...

Implementors

impl Output for Captured[src]

impl Output for Null[src]

impl Output for Process[src]

impl<'a> Output for &'a mut Captured[src]

Loading content...