Trait io_providers::stream::Provider [] [src]

pub trait Provider {
    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