Trait kademlia_routing_table::ContactInfo [] [src]

pub trait ContactInfo: Clone + Eq {
    type Name;
    fn name(&self) -> &Self::Name;
}

Contact info about a node in the network.

Associated Types

The type of node names. This should implement the Xorable trait.

Required Methods

Returns the name of this contact.

Implementors