Enum bip_dht::message::get_peers::CompactInfoType [] [src]

pub enum CompactInfoType<'a> {
    Nodes(CompactNodeInfo<'a>),
    Values(CompactValueInfo<'a>),
    Both(CompactNodeInfo<'a>, CompactValueInfo<'a>),
}

Variants

Trait Implementations

impl<'a> Copy for CompactInfoType<'a>
[src]

impl<'a> Clone for CompactInfoType<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for CompactInfoType<'a>
[src]

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

This method tests for !=.

impl<'a> Eq for CompactInfoType<'a>
[src]

impl<'a> Hash for CompactInfoType<'a>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> Debug for CompactInfoType<'a>
[src]

Formats the value using the given formatter.