pub enum DirDiff {
ExpectedFileMissing {
expected: PathBuf,
},
ExpectedFolderMissing {
expected: PathBuf,
},
UnexpectedFileFound {
found: PathBuf,
},
UnexpectedFolderFound {
found: PathBuf,
},
FileTypeMismatch {
file: PathBuf,
expected: String,
found: String,
},
ContentMismatch {
file: PathBuf,
expected: String,
found: String,
},
NonContentFileMismatch {
file: PathBuf,
},
}
Variants
ExpectedFileMissing
Fields
expected: PathBuf
ExpectedFolderMissing
Fields
expected: PathBuf
UnexpectedFileFound
Fields
found: PathBuf
UnexpectedFolderFound
Fields
found: PathBuf
FileTypeMismatch
ContentMismatch
NonContentFileMismatch
Fields
file: PathBuf
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DirDiff
impl Send for DirDiff
impl Sync for DirDiff
impl Unpin for DirDiff
impl UnwindSafe for DirDiff
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