Struct libp2p_kad::NoKnownPeers
source · pub struct NoKnownPeers();
Expand description
An operation failed to due no known peers in the routing table.
Trait Implementations§
source§impl Clone for NoKnownPeers
impl Clone for NoKnownPeers
source§fn clone(&self) -> NoKnownPeers
fn clone(&self) -> NoKnownPeers
Returns a copy 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 NoKnownPeers
impl Debug for NoKnownPeers
source§impl Display for NoKnownPeers
impl Display for NoKnownPeers
source§impl Error for NoKnownPeers
impl Error for NoKnownPeers
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 RefUnwindSafe for NoKnownPeers
impl Send for NoKnownPeers
impl Sync for NoKnownPeers
impl Unpin for NoKnownPeers
impl UnwindSafe for NoKnownPeers
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