pub struct InvalidMultihash(pub Vec<u8>);
Expand description
Hash does not match the CID.
Tuple Fields§
§0: Vec<u8>
Trait Implementations§
Source§impl Clone for InvalidMultihash
impl Clone for InvalidMultihash
Source§fn clone(&self) -> InvalidMultihash
fn clone(&self) -> InvalidMultihash
Returns a duplicate of the value. Read more
1.0.0 · 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 InvalidMultihash
impl Debug for InvalidMultihash
Source§impl Display for InvalidMultihash
impl Display for InvalidMultihash
Source§impl Error for InvalidMultihash
impl Error for InvalidMultihash
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()
Auto Trait Implementations§
impl Freeze for InvalidMultihash
impl RefUnwindSafe for InvalidMultihash
impl Send for InvalidMultihash
impl Sync for InvalidMultihash
impl Unpin for InvalidMultihash
impl UnwindSafe for InvalidMultihash
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