Enum libp2p_kad::AddProviderError
source · pub enum AddProviderError {
Timeout {
key: Key,
},
}
Expand description
The possible errors when publishing a provider record.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for AddProviderError
impl Clone for AddProviderError
source§fn clone(&self) -> AddProviderError
fn clone(&self) -> AddProviderError
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 AddProviderError
impl Debug for AddProviderError
source§impl Display for AddProviderError
impl Display for AddProviderError
source§impl Error for AddProviderError
impl Error for AddProviderError
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()