Enum libp2p_kad::AddProviderError[][src]

pub enum AddProviderError {
    Timeout {
        key: Key,
    },
}
Expand description

The possible errors when publishing a provider record.

Variants

Timeout

The query timed out.

Show fields

Fields of Timeout

key: Key

Implementations

Gets the key for which the operation failed.

Extracts the key for which the operation failed,

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.