Struct bip_dht::message::compact_info::CompactValueInfo [] [src]

pub struct CompactValueInfo<'a> { /* fields omitted */ }

Methods

impl<'a> CompactValueInfo<'a>
[src]

Creates a new CompactValueInfo container for the given values.

It is VERY important that the values have been checked to contain only bencoded bytes and not other types as that will result in a panic.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for CompactValueInfo<'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 CompactValueInfo<'a>
[src]

impl<'a> Hash for CompactValueInfo<'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 CompactValueInfo<'a>
[src]

Formats the value using the given formatter.

impl<'a> IntoIterator for CompactValueInfo<'a>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more