Struct io_providers::NativeIo [−][src]
pub struct NativeIo { /* fields omitted */ }
Io
implementation using the native system.
See env::NativeEnv
and std_streams::NativeStdStreams
for more information.
Methods
impl NativeIo
[src]
impl NativeIo
Trait Implementations
impl Default for NativeIo
[src]
impl Default for NativeIo
impl Io for NativeIo
[src]
impl Io for NativeIo
type E = NativeEnv
type F = NativeFs
type S = NativeStdStreams
fn env(&self) -> &NativeEnv
[src]
fn env(&self) -> &NativeEnv
Gets a reference to the env::Env
provider.
fn env_mut(&mut self) -> &mut NativeEnv
[src]
fn env_mut(&mut self) -> &mut NativeEnv
Gets a mutable reference to the env::Env
provider.
fn fs(&self) -> &NativeFs
[src]
fn fs(&self) -> &NativeFs
Gets a reference to the fs::Fs
provider.
fn fs_mut(&mut self) -> &mut NativeFs
[src]
fn fs_mut(&mut self) -> &mut NativeFs
Gets a mutable reference to the fs::Fs
provider.
fn std_streams(&mut self) -> &mut NativeStdStreams
[src]
fn std_streams(&mut self) -> &mut NativeStdStreams
Gets a mutable reference to the std_streams::StdStreams
.