pub struct ModuleDigestMismatchDetails {
pub module: String,
pub version: String,
pub url: String,
pub expected: String,
pub actual: String,
}Expand description
Payload of CoreError::ModuleDigestMismatch, boxed to keep
CoreError under clippy’s result_large_err threshold.
Fields§
§module: StringThe crate::module::ModuleSpec::id being fetched.
version: StringThe requested version string.
url: StringThe asset URL the mismatched bytes were downloaded from.
expected: StringThe release’s published sha256 digest.
actual: StringThe sha256 digest of the bytes actually downloaded.
Trait Implementations§
Source§impl Clone for ModuleDigestMismatchDetails
impl Clone for ModuleDigestMismatchDetails
Source§impl Debug for ModuleDigestMismatchDetails
impl Debug for ModuleDigestMismatchDetails
impl Eq for ModuleDigestMismatchDetails
impl StructuralPartialEq for ModuleDigestMismatchDetails
Auto Trait Implementations§
impl Freeze for ModuleDigestMismatchDetails
impl RefUnwindSafe for ModuleDigestMismatchDetails
impl Send for ModuleDigestMismatchDetails
impl Sync for ModuleDigestMismatchDetails
impl Unpin for ModuleDigestMismatchDetails
impl UnsafeUnpin for ModuleDigestMismatchDetails
impl UnwindSafe for ModuleDigestMismatchDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.