Struct libp2p_kad::PeerRecord [−][src]
Expand description
A record either received by the given peer or retrieved from the local record store.
Fields
peer: Option<PeerId>The peer from whom the record was received. None if the record was
retrieved from local storage.
record: RecordTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PeerRecord
impl Send for PeerRecord
impl Sync for PeerRecord
impl Unpin for PeerRecord
impl UnwindSafe for PeerRecord
Blanket Implementations
Mutably borrows from an owned value. Read more