Enum bencode::Bencode [] [src]

pub enum Bencode {
    Empty,
    Number(i64),
    ByteString(Vec<u8>),
    List(ListVec),
    Dict(DictMap),
}

Variants

Methods

impl Bencode
[src]

Trait Implementations

impl PartialEq for Bencode
[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 Bencode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Bencode
[src]

Formats the value using the given formatter.

impl Display for Bencode
[src]

Formats the value using the given formatter.

impl Encodable for Bencode
[src]

Serialize a value using an Encoder.