Struct io_providers::VirtualIoProvider [] [src]

pub struct VirtualIoProvider {
    // some fields omitted
}

Virtual implementer of IoProvider, using in-memory data which can be inspected.

See env::Virtual and stream::Virtual for more information.

Methods

impl VirtualIoProvider
[src]

fn new() -> VirtualIoProvider

Creates a new VirtualIoProvider.

fn virtual_env<'a>(&'a mut self) -> &'a mut Virtual

Gets the env::Virtual provider.

fn virtual_stream<'a>(&'a mut self) -> &'a mut Virtual

Gets the stream::Virtual provider.

Trait Implementations

impl IoProvider for VirtualIoProvider
[src]

fn env<'a>(&'a mut self) -> &'a mut Provider

Gets the env::Provider.

fn stream<'a>(&'a mut self) -> &'a mut Provider

Gets the stream::Provider.