pub struct MockFs { /* private fields */ }Expand description
A simple in-memory key-value store that simulates persistent IO.
This can be used in tests or elaboration to mock file system operations.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MockFs
impl RefUnwindSafe for MockFs
impl Send for MockFs
impl Sync for MockFs
impl Unpin for MockFs
impl UnsafeUnpin for MockFs
impl UnwindSafe for MockFs
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