pub enum Bencoding {
Integer(u64),
ByteString(Vec<u8>),
List(Vec<Bencoding>),
Dictionary(HashMap<Vec<u8>, Bencoding>),
Eof,
}
Variants§
Trait Implementations§
impl StructuralPartialEq for Bencoding
Auto Trait Implementations§
impl Freeze for Bencoding
impl RefUnwindSafe for Bencoding
impl Send for Bencoding
impl Sync for Bencoding
impl Unpin for Bencoding
impl UnwindSafe for Bencoding
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