Struct libp2p_kad::kbucket::NodeRefView
source · pub struct NodeRefView<'a, TKey, TVal> {
pub key: &'a TKey,
pub value: &'a TVal,
}
Expand description
An immutable by-reference view of a Node
.
Fields§
§key: &'a TKey
§value: &'a TVal