Enum bencoders::Bencode
[−]
[src]
pub enum Bencode { Bytes(Vec<u8>), Int(i64), List(Vec<Bencode>), Dict(HashMap<Vec<u8>, Bencode>), }
Variants
Bytes(Vec<u8>)
Int(i64)
List(Vec<Bencode>)
Dict(HashMap<Vec<u8>, Bencode>)
Trait Implementations
impl Debug for Bencode
[src]
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