Struct libipld_cbor::error::InvalidCidPrefix
source · pub struct InvalidCidPrefix(pub u8);
Expand description
The byte before Cid was not multibase identity prefix.
Tuple Fields§
§0: u8
Trait Implementations§
source§impl Debug for InvalidCidPrefix
impl Debug for InvalidCidPrefix
source§impl Display for InvalidCidPrefix
impl Display for InvalidCidPrefix
source§impl Error for InvalidCidPrefix
impl Error for InvalidCidPrefix
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 InvalidCidPrefix
impl RefUnwindSafe for InvalidCidPrefix
impl Send for InvalidCidPrefix
impl Sync for InvalidCidPrefix
impl Unpin for InvalidCidPrefix
impl UnwindSafe for InvalidCidPrefix
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