Trait Outputer

Source
pub trait Outputer:
    Write
    + Send
    + Sync
    + 'static {
    // Required methods
    fn boxed(self) -> Result<Box<dyn Outputer>, Error>;
    fn desc(&self) -> &str;
}

Required Methods§

Source

fn boxed(self) -> Result<Box<dyn Outputer>, Error>

Source

fn desc(&self) -> &str

Implementations on Foreign Types§

Source§

impl Outputer for File

Source§

fn boxed(self) -> Result<Box<dyn Outputer>, Error>

Source§

fn desc(&self) -> &str

Source§

impl Outputer for Stderr

Source§

fn boxed(self) -> Result<Box<dyn Outputer>, Error>

Source§

fn desc(&self) -> &str

Source§

impl Outputer for Stdout

Source§

fn boxed(self) -> Result<Box<dyn Outputer>, Error>

Source§

fn desc(&self) -> &str

Source§

impl<W> Outputer for BufWriter<W>
where W: Write + Send + Sync + 'static,

Source§

fn boxed(self) -> Result<Box<dyn Outputer>, Error>

Source§

fn desc(&self) -> &str

Implementors§