Enum bencoderus::Bencoding
[−]
[src]
pub enum Bencoding { Integer(u64), ByteString(Vec<u8>), List(Vec<Bencoding>), Dictionary(HashMap<Vec<u8>, Bencoding>), Eof, }
Variants
Integer(u64)
ByteString(Vec<u8>)
List(Vec<Bencoding>)
Dictionary(HashMap<Vec<u8>, Bencoding>)
Eof
Trait Implementations
impl PartialEq for Bencoding
[src]
fn eq(&self, __arg_0: &Bencoding) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Bencoding) -> bool
This method tests for !=
.
impl Clone for Bencoding
[src]
fn clone(&self) -> Bencoding
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