[−][src]Enum libp2p_kad::PutRecordError
The error result of Kademlia::put_record
.
Variants
QuorumFailed
Fields of QuorumFailed
Timeout
Fields of Timeout
LocalStorageError
Fields of LocalStorageError
key: Multihash
cause: Error
Methods
impl PutRecordError
[src]
pub fn key(&self) -> &Multihash
[src]
Gets the key of the record for which the operation failed.
pub fn into_key(self) -> Multihash
[src]
Extracts the key of the record for which the operation failed, consuming the error.
Trait Implementations
Auto Trait Implementations
impl Unpin for PutRecordError
impl Sync for PutRecordError
impl Send for PutRecordError
impl RefUnwindSafe for PutRecordError
impl UnwindSafe for PutRecordError
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self