Enum libp2p_kad::GetClosestPeersError
source · [−]Expand description
The error result of Kademlia::get_closest_peers
.
Variants
Timeout
Implementations
Trait Implementations
sourceimpl Clone for GetClosestPeersError
impl Clone for GetClosestPeersError
sourcefn clone(&self) -> GetClosestPeersError
fn clone(&self) -> GetClosestPeersError
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetClosestPeersError
impl Debug for GetClosestPeersError
sourceimpl Display for GetClosestPeersError
impl Display for GetClosestPeersError
sourceimpl Error for GetClosestPeersError
impl Error for GetClosestPeersError
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()
Auto Trait Implementations
impl RefUnwindSafe for GetClosestPeersError
impl Send for GetClosestPeersError
impl Sync for GetClosestPeersError
impl Unpin for GetClosestPeersError
impl UnwindSafe for GetClosestPeersError
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