pub struct VirtualIoProvider { /* private fields */ }
Expand description
Virtual implementer of IoProvider
, using in-memory data which can be inspected.
See env::Virtual
and stream::Virtual
for more information.
Implementations§
Source§impl VirtualIoProvider
impl VirtualIoProvider
Sourcepub fn new() -> VirtualIoProvider
pub fn new() -> VirtualIoProvider
Creates a new VirtualIoProvider
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VirtualIoProvider
impl RefUnwindSafe for VirtualIoProvider
impl Send for VirtualIoProvider
impl Sync for VirtualIoProvider
impl Unpin for VirtualIoProvider
impl UnwindSafe for VirtualIoProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more