pub enum Bencode {
Empty,
Number(i64),
ByteString(Vec<u8>),
List(ListVec),
Dict(DictMap),
}
Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for Bencode
Auto Trait Implementations§
impl Freeze for Bencode
impl RefUnwindSafe for Bencode
impl Send for Bencode
impl Sync for Bencode
impl Unpin for Bencode
impl UnwindSafe for Bencode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more