Enum rdest::BValue [−][src]
Bencode representation. BEP3 specify four basic types: integer, string (but can be any byte array), list and dictionary.
Variants
Int(i64)
Integer representation. BEP3 doesn’t specify max/min limit, so in this implementation i64 was used, and should be sufficient.
String representation, more precisely this can be any u8 array.
List of BValue
values
Dictionary where, key and value are both BValue
s (key can be dictionary itself).
Trait Implementations
impl StructuralPartialEq for BValue
[src]
impl StructuralPartialEq for BValue
[src]Auto Trait Implementations
impl RefUnwindSafe for BValue
impl RefUnwindSafe for BValue
impl UnwindSafe for BValue
impl UnwindSafe for BValue
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]