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