Trait kademlia_routing_table::HasName [] [src]

pub trait HasName {
    fn name(&self) -> &XorName;
}

A trait for anything that has a XorName and can thus be addressed in the network.

The node information in the routing table is required to implement this.

Required Methods

fn name(&self) -> &XorName

Returns the XorName representing this item's address in the network.

Implementors