pub enum DirectoryChecksumError {
NonUtf8Path {
path: PathBuf,
},
InvalidRelativePath {
path: PathBuf,
},
DuplicatePath {
path: PathBuf,
},
}Expand description
Invalid declared file identities at the I/O-free directory checksum boundary.
Variants§
NonUtf8Path
The supplied path cannot retain exact UTF-8 identity.
InvalidRelativePath
The path contains invalid bytes or noncanonical/unnormalized components.
DuplicatePath
Two entries declare the same canonical path, even if their digests agree.
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 From<DirectoryChecksumError> for ArtifactError
impl From<DirectoryChecksumError> for ArtifactError
Source§fn from(error: DirectoryChecksumError) -> Self
fn from(error: DirectoryChecksumError) -> Self
Converts to this type from the input type.
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