Enum kademlia_routing_table::HopType [] [src]

pub enum HopType {
    OriginalSender,
    CopyNum(usize),
}

Specifies the number of times we have already passed on a particular message.

Variants

OriginalSender

We are the original sender. The message should be sent to PARALLELISM contacts.

CopyNum(usize)

We have already relayed the given number of copies of this message.

Trait Implementations

impl Debug for HopType
[src]

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

Formats the value using the given formatter.

impl Clone for HopType
[src]

fn clone(&self) -> HopType

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 HopType
[src]