Struct kademlia_routing_table::DroppedNodeDetails
[−]
[src]
pub struct DroppedNodeDetails { pub name: XorName, pub incomplete_bucket: Option<usize>, pub common_groups: bool, }
This is returned by RoutingTable::drop_connection
if a node was dropped.
If the dropped connection was the last one that connected us to one of the table's entries, that node is removed from the table.
Fields
name: XorName
The name of the dropped node.
incomplete_bucket: Option<usize>
Some(i)
if the entry has been removed from a full bucket with index i
, indicating
that an attempt to refill that bucket has to be made.
common_groups: bool
Whether we were together in any close group with that contact.
Trait Implementations
impl Debug for DroppedNodeDetails
[src]
impl Clone for DroppedNodeDetails
[src]
fn clone(&self) -> DroppedNodeDetails
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for DroppedNodeDetails
[src]
impl PartialEq for DroppedNodeDetails
[src]
fn eq(&self, __arg_0: &DroppedNodeDetails) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DroppedNodeDetails) -> bool
This method tests for !=
.