pub enum CompareVerityError {
Measure(MeasureVerityError),
DigestMismatch {
expected: String,
found: String,
},
}Expand description
A verity comparison failed.
Variants§
Measure(MeasureVerityError)
Failed to measure the fs-verity digest.
DigestMismatch
The measured digest does not match the expected digest.
Trait Implementations§
Source§impl Debug for CompareVerityError
impl Debug for CompareVerityError
Source§impl Display for CompareVerityError
impl Display for CompareVerityError
Source§impl Error for CompareVerityError
impl Error for CompareVerityError
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<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 CompareVerityError
impl !RefUnwindSafe for CompareVerityError
impl Send for CompareVerityError
impl Sync for CompareVerityError
impl Unpin for CompareVerityError
impl !UnwindSafe for CompareVerityError
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