Struct libp2p::kad::kbucket::EntryRefView [−][src]
pub struct EntryRefView<'a, TPeerId, TVal> {
pub node: NodeRefView<'a, TPeerId, TVal>,
pub status: NodeStatus,
}Expand description
An immutable by-reference view of a bucket entry.
Fields
node: NodeRefView<'a, TPeerId, TVal>The node represented by the entry.
status: NodeStatusThe status of the node identified by the key.
Auto Trait Implementations
impl<'a, TPeerId, TVal> RefUnwindSafe for EntryRefView<'a, TPeerId, TVal> where
TPeerId: RefUnwindSafe,
TVal: RefUnwindSafe, impl<'a, TPeerId, TVal> Send for EntryRefView<'a, TPeerId, TVal> where
TPeerId: Sync,
TVal: Sync, impl<'a, TPeerId, TVal> Sync for EntryRefView<'a, TPeerId, TVal> where
TPeerId: Sync,
TVal: Sync, impl<'a, TPeerId, TVal> Unpin for EntryRefView<'a, TPeerId, TVal>impl<'a, TPeerId, TVal> UnwindSafe for EntryRefView<'a, TPeerId, TVal> where
TPeerId: RefUnwindSafe,
TVal: RefUnwindSafe,