Enum libp2p::kad::AddProviderError
source · [−]pub enum AddProviderError {
Timeout {
key: Key,
},
}
Expand description
The possible errors when publishing a provider record.
Variants
Timeout
Fields
key: Key
The query timed out.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AddProviderError
impl Send for AddProviderError
impl Sync for AddProviderError
impl Unpin for AddProviderError
impl UnwindSafe for AddProviderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more