pub struct VarBytes(pub Vec<u8>);
Expand description
Bytes that encoded with length
Tuple Fields§
§0: Vec<u8>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)