Enum libp2p_kad::GetClosestPeersError
source · Expand description
The error result of Kademlia::get_closest_peers
.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for GetClosestPeersError
impl Clone for GetClosestPeersError
source§fn clone(&self) -> GetClosestPeersError
fn clone(&self) -> GetClosestPeersError
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 GetClosestPeersError
impl Debug for GetClosestPeersError
source§impl Display for GetClosestPeersError
impl Display for GetClosestPeersError
source§impl Error for GetClosestPeersError
impl Error for GetClosestPeersError
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()