Expand description
Supported file types with TestDir
Variants
EmptyFile
Create empty file
RandomFile(usize)
Create a file with random content of the given size
ZeroFile(usize)
Create a file with a given len of “0“s
Dir
Create a directory
Trait Implementations
impl StructuralPartialEq for FileType
Auto Trait Implementations
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more