Enum libp2p_kad::PutRecordError [−][src]
pub enum PutRecordError { QuorumFailed { key: Key, success: Vec<PeerId>, quorum: NonZeroUsize, }, Timeout { key: Key, success: Vec<PeerId>, quorum: NonZeroUsize, }, }
The error result of Kademlia::put_record
.
Variants
Show fields
Fields of QuorumFailed
key: Key
success: Vec<PeerId>
PeerId
s of the peers the record was successfully stored on.
quorum: NonZeroUsize
Show fields
Fields of Timeout
key: Key
success: Vec<PeerId>
PeerId
s of the peers the record was successfully stored on.
quorum: NonZeroUsize
Implementations
impl PutRecordError
[src]
impl PutRecordError
[src]