pub enum MeasureVerityError {
Io(Error),
VerityMissing,
FilesystemNotSupported,
InvalidDigestAlgorithm {
expected: u16,
found: u16,
},
InvalidDigestSize {
expected: u16,
},
}Expand description
Measuring fsverity failed.
Variants§
Io(Error)
I/O operation failed.
VerityMissing
fs-verity is not enabled on the file.
FilesystemNotSupported
The filesystem does not support fs-verity.
InvalidDigestAlgorithm
The hash algorithm does not match the expected algorithm.
Fields
InvalidDigestSize
The digest size does not match the expected size.
Trait Implementations§
Source§impl Debug for MeasureVerityError
impl Debug for MeasureVerityError
Source§impl Display for MeasureVerityError
impl Display for MeasureVerityError
Source§impl Error for MeasureVerityError
impl Error for MeasureVerityError
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<Error> for MeasureVerityError
impl From<Error> for MeasureVerityError
Source§impl From<MeasureVerityError> for CompareVerityError
impl From<MeasureVerityError> for CompareVerityError
Source§fn from(source: MeasureVerityError) -> Self
fn from(source: MeasureVerityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MeasureVerityError
impl !RefUnwindSafe for MeasureVerityError
impl Send for MeasureVerityError
impl Sync for MeasureVerityError
impl Unpin for MeasureVerityError
impl !UnwindSafe for MeasureVerityError
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