pub enum VarBytes {
Dynamic(Vec<u8>),
Fixed2([u8; 2]),
Fixed4([u8; 4]),
}
Expand description
A bytes data structure represent a dynamic vector or fixed array.
Variants§
Trait Implementations§
impl Eq for VarBytes
impl StructuralPartialEq for VarBytes
Auto Trait Implementations§
impl Freeze for VarBytes
impl RefUnwindSafe for VarBytes
impl Send for VarBytes
impl Sync for VarBytes
impl Unpin for VarBytes
impl UnwindSafe for VarBytes
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