Enum bencode::Bencode
[−]
[src]
pub enum Bencode { Empty, Number(i64), ByteString(Vec<u8>), List(ListVec), Dict(DictMap), }
Variants
Empty
Number(i64)
ByteString(Vec<u8>)
List(ListVec)
Dict(DictMap)
Methods
impl Bencode
[src]
Trait Implementations
impl PartialEq for Bencode
[src]
fn eq(&self, __arg_0: &Bencode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Bencode) -> bool
This method tests for !=
.
impl Clone for Bencode
[src]
fn clone(&self) -> Bencode
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