Enum libp2p::kad::GetRecordError [−][src]
pub enum GetRecordError {
NotFound {
key: Key,
closest_peers: Vec<PeerId, Global>,
},
QuorumFailed {
key: Key,
records: Vec<PeerRecord, Global>,
quorum: NonZeroUsize,
},
Timeout {
key: Key,
records: Vec<PeerRecord, Global>,
quorum: NonZeroUsize,
},
}The error result of Kademlia::get_record.
Variants
Show fields
Fields of QuorumFailed
Show fields
Fields of Timeout
Implementations
impl GetRecordError[src]
impl GetRecordError[src]Trait Implementations
impl Clone for GetRecordError[src]
impl Clone for GetRecordError[src]