Struct libipld_core::error::BlockNotFound
source · pub struct BlockNotFound(pub Cid);
Expand description
The block wasn’t found. The supplied string is a CID.
Tuple Fields
0: Cid
Trait Implementations
sourceimpl Clone for BlockNotFound
impl Clone for BlockNotFound
sourcefn clone(&self) -> BlockNotFound
fn clone(&self) -> BlockNotFound
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 moresourceimpl Debug for BlockNotFound
impl Debug for BlockNotFound
sourceimpl Display for BlockNotFound
impl Display for BlockNotFound
sourceimpl Error for BlockNotFound
impl Error for BlockNotFound
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 BlockNotFound
Auto Trait Implementations
impl RefUnwindSafe for BlockNotFound
impl Send for BlockNotFound
impl Sync for BlockNotFound
impl Unpin for BlockNotFound
impl UnwindSafe for BlockNotFound
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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