OutputArgWriter

Type Alias OutputArgWriter 

Source
pub type OutputArgWriter = Either<StdoutLock<'static>, File>;
Expand description

The type of the writers returned by OutputArg::create().

This type implements std::io::Write.

Aliased Type§

pub enum OutputArgWriter {
    Left(StdoutLock<'static>),
    Right(File),
}

Variants§

§

Left(StdoutLock<'static>)

A value of type L.

§

Right(File)

A value of type R.