pub struct VerificationFailure {
pub path: String,
pub expected_hash: String,
pub actual_hash: String,
pub expected_size: u64,
pub actual_size: u64,
}Expand description
Details of a verification failure.
Fields§
§path: StringFile path that failed.
expected_hash: StringExpected hash (from manifest).
actual_hash: StringActual hash (computed locally).
expected_size: u64Expected size.
actual_size: u64Actual size.
Implementations§
Trait Implementations§
Source§impl Clone for VerificationFailure
impl Clone for VerificationFailure
Source§fn clone(&self) -> VerificationFailure
fn clone(&self) -> VerificationFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerificationFailure
impl Debug for VerificationFailure
Source§impl<'de> Deserialize<'de> for VerificationFailure
impl<'de> Deserialize<'de> for VerificationFailure
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VerificationFailure
impl RefUnwindSafe for VerificationFailure
impl Send for VerificationFailure
impl Sync for VerificationFailure
impl Unpin for VerificationFailure
impl UnsafeUnpin for VerificationFailure
impl UnwindSafe for VerificationFailure
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