Enum simple_bencode::Value
[−]
[src]
pub enum Value { String(Vec<u8>), Integer(i64), List(Vec<Value>), Dictionary(HashMap<Vec<u8>, Value>), }
The possible value types in a bencode object.
Variants
String(Vec<u8>)
Integer(i64)
List(Vec<Value>)
Dictionary(HashMap<Vec<u8>, Value>)
Trait Implementations
impl Debug for Value
[src]
impl PartialEq for Value
[src]
fn eq(&self, __arg_0: &Value) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Value) -> bool
This method tests for !=
.