pub struct MockFileSystem {
pub files: Vec<(PathBuf, String)>,
pub hashes: Vec<(PathBuf, String)>,
}Expand description
Mock FileSystem for testing.
Fields§
§files: Vec<(PathBuf, String)>§hashes: Vec<(PathBuf, String)>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MockFileSystem
impl RefUnwindSafe for MockFileSystem
impl Send for MockFileSystem
impl Sync for MockFileSystem
impl Unpin for MockFileSystem
impl UnsafeUnpin for MockFileSystem
impl UnwindSafe for MockFileSystem
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