AsyncInputArgReader

Type Alias AsyncInputArgReader 

Source
pub type AsyncInputArgReader = Either<Stdin, File>;
Available on crate feature tokio only.
Expand description

The type of the asynchronous readers returned by InputArg::async_open().

This type implements tokio::io::AsyncRead.

Aliased Type§

pub enum AsyncInputArgReader {
    Left(Stdin),
    Right(File),
}

Variants§

§

Left(Stdin)

§

Right(File)