Enum libp2p_kad::GetRecordError [−][src]
pub enum GetRecordError { NotFound { key: Key, closest_peers: Vec<PeerId>, }, QuorumFailed { key: Key, records: Vec<PeerRecord>, quorum: NonZeroUsize, }, Timeout { key: Key, records: Vec<PeerRecord>, 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]