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
ExpectedFolderMissing
UnexpectedFileFound
UnexpectedFolderFound
FileTypeMismatch
ContentMismatch
NonContentFileMismatch
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirDiff
impl RefUnwindSafe for DirDiff
impl Send for DirDiff
impl Sync for DirDiff
impl Unpin for DirDiff
impl UnwindSafe for DirDiff
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