Struct kademlia_routing_table::DroppedNodeDetails [] [src]

pub struct DroppedNodeDetails {
    pub incomplete_bucket: Option<usize>,
}

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

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.

Trait Implementations

impl PartialEq for DroppedNodeDetails
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for DroppedNodeDetails
[src]

impl Debug for DroppedNodeDetails
[src]

Formats the value using the given formatter.