Trait io_providers::std_streams::StdStreams [−][src]
pub trait StdStreams { fn input(&mut self) -> &mut Read; fn output(&mut self) -> &mut Write; fn error(&mut self) -> &mut Write; }
Provides access to input, output and error streams.
Required Methods
fn input(&mut self) -> &mut Read
Gets the input stream.
fn output(&mut self) -> &mut Write
Gets the output stream.
fn error(&mut self) -> &mut Write
Gets the error stream.
Implementors
impl StdStreams for NativeStdStreams
impl StdStreams for SimulatedStdStreams