Enum rust_ipfs::p2p::bitswap::BitswapError
source · pub enum BitswapError {
Io(Error),
EmptyWantList,
MaxEntryExceeded,
}Variants§
Trait Implementations§
source§impl Debug for BitswapError
impl Debug for BitswapError
source§impl Display for BitswapError
impl Display for BitswapError
source§impl Error for BitswapError
impl Error for BitswapError
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 BitswapError
impl !RefUnwindSafe for BitswapError
impl Send for BitswapError
impl Sync for BitswapError
impl Unpin for BitswapError
impl !UnwindSafe for BitswapError
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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