Enum kademlia_routing_table::Destination [] [src]

pub enum Destination {
    Group(XorName),
    Node(XorName),
}

A message destination.

Variants

Group(XorName)

The close group of the given address. The message should reach GROUP_SIZE nodes.

Node(XorName)

The individual node at the given address. The message should reach exactly one node.

Trait Implementations

impl Debug for Destination
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Destination
[src]

fn clone(&self) -> Destination

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 Copy for Destination
[src]