Struct libipld_core::error::UnsupportedCodec
source · [−]pub struct UnsupportedCodec(pub u64);
Expand description
The codec is unsupported.
Tuple Fields
0: u64
Trait Implementations
sourceimpl Clone for UnsupportedCodec
impl Clone for UnsupportedCodec
sourcefn clone(&self) -> UnsupportedCodec
fn clone(&self) -> UnsupportedCodec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnsupportedCodec
impl Debug for UnsupportedCodec
sourceimpl Display for UnsupportedCodec
impl Display for UnsupportedCodec
sourceimpl Error for UnsupportedCodec
impl Error for UnsupportedCodec
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl Copy for UnsupportedCodec
Auto Trait Implementations
impl RefUnwindSafe for UnsupportedCodec
impl Send for UnsupportedCodec
impl Sync for UnsupportedCodec
impl Unpin for UnsupportedCodec
impl UnwindSafe for UnsupportedCodec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more