Struct libp2p_kad::kbucket::EntryView [−][src]
pub struct EntryView<TKey, TVal> {
pub node: Node<TKey, TVal>,
pub status: NodeStatus,
}A cloned, immutable view of an entry that is either present in a bucket or pending insertion.
Fields
node: Node<TKey, TVal>The node represented by the entry.
status: NodeStatusThe status of the node.
Trait Implementations
Auto Trait Implementations
impl<TKey, TVal> RefUnwindSafe for EntryView<TKey, TVal> where
TKey: RefUnwindSafe,
TVal: RefUnwindSafe,
TKey: RefUnwindSafe,
TVal: RefUnwindSafe,
impl<TKey, TVal> Send for EntryView<TKey, TVal> where
TKey: Send,
TVal: Send,
TKey: Send,
TVal: Send,
impl<TKey, TVal> Sync for EntryView<TKey, TVal> where
TKey: Sync,
TVal: Sync,
TKey: Sync,
TVal: Sync,
impl<TKey, TVal> Unpin for EntryView<TKey, TVal> where
TKey: Unpin,
TVal: Unpin,
TKey: Unpin,
TVal: Unpin,
impl<TKey, TVal> UnwindSafe for EntryView<TKey, TVal> where
TKey: UnwindSafe,
TVal: UnwindSafe,
TKey: UnwindSafe,
TVal: UnwindSafe,