Struct io_providers::std_streams::NativeStdStreams[][src]

pub struct NativeStdStreams { /* fields omitted */ }

Handles for the standard input streams of a process, using std::io.

Methods

impl NativeStdStreams
[src]

Creates a new NativeStdStreams.

This is necessary (as opposed to having NativeStdStreams be a unit struct) because the std::io functions return a new handle to their stream, so it's not possible to return &mut references to these handles unless we store them.

Trait Implementations

impl Default for NativeStdStreams
[src]

Returns the "default value" for a type. Read more

impl StdStreams for NativeStdStreams
[src]

Gets the input stream.

Gets the output stream.

Gets the error stream.

Auto Trait Implementations