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