Enum bencoderus::Bencoding [] [src]

pub enum Bencoding {
    Integer(u64),
    ByteString(Vec<u8>),
    List(Vec<Bencoding>),
    Dictionary(HashMap<Vec<u8>, Bencoding>),
    Eof,
}

Variants

Trait Implementations

impl PartialEq for Bencoding
[src]

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

This method tests for !=.

impl Clone for Bencoding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Bencoding
[src]

Formats the value using the given formatter.