Struct io_providers::NativeStdStreams [−][src]
pub struct NativeStdStreams { /* fields omitted */ }
Handles for the standard input streams of a process, using
std::io
.
Methods
impl NativeStdStreams
[src]
impl NativeStdStreams
pub fn new() -> Self
[src]
pub fn new() -> Self
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]
impl Default for NativeStdStreams
impl StdStreams for NativeStdStreams
[src]
impl StdStreams for NativeStdStreams
Auto Trait Implementations
impl Send for NativeStdStreams
impl Send for NativeStdStreams
impl Sync for NativeStdStreams
impl Sync for NativeStdStreams