Struct kademlia_routing_table::AddedNodeDetails
[−]
[src]
pub struct AddedNodeDetails<T: ContactInfo> { pub must_notify: Vec<T>, pub common_groups: bool, }
This is returned by RoutingTable::add_node
if a new node has been added.
Fields
must_notify: Vec<T>
The list of contacts that need to be notified about the new node: If the bucket was already full, that's nobody, but if it wasn't, everyone with a bucket index greater than the new nodes' must be notified.
common_groups: bool
Whether we are together in any close group with that contact.
Trait Implementations
impl<T: Debug + ContactInfo> Debug for AddedNodeDetails<T>
[src]
impl<T: Eq + ContactInfo> Eq for AddedNodeDetails<T>
[src]
impl<T: PartialEq + ContactInfo> PartialEq for AddedNodeDetails<T>
[src]
fn eq(&self, __arg_0: &AddedNodeDetails<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AddedNodeDetails<T>) -> bool
This method tests for !=
.