pub enum DirectoryChecksumError {
NonUtf8Path {
path: PathBuf,
},
InvalidRelativePath {
path: PathBuf,
},
DuplicatePath {
path: PathBuf,
},
}Expand description
Invalid declared file identity; no filesystem operation has occurred.
Variants§
NonUtf8Path
The exact identity cannot be represented in UTF-8.
InvalidRelativePath
The path is absolute, malformed or contains normalization aliases.
DuplicatePath
A canonical relative identity occurs twice, even with equal digests.
Trait Implementations§
Source§impl Clone for DirectoryChecksumError
impl Clone for DirectoryChecksumError
Source§impl Debug for DirectoryChecksumError
impl Debug for DirectoryChecksumError
Source§impl Display for DirectoryChecksumError
impl Display for DirectoryChecksumError
impl Eq for DirectoryChecksumError
Source§impl Error for DirectoryChecksumError
impl Error for DirectoryChecksumError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DirectoryChecksumError
impl PartialEq for DirectoryChecksumError
impl StructuralPartialEq for DirectoryChecksumError
Auto Trait Implementations§
impl Freeze for DirectoryChecksumError
impl RefUnwindSafe for DirectoryChecksumError
impl Send for DirectoryChecksumError
impl Sync for DirectoryChecksumError
impl Unpin for DirectoryChecksumError
impl UnsafeUnpin for DirectoryChecksumError
impl UnwindSafe for DirectoryChecksumError
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