pub struct VintSize {
pub value: u64,
pub unknown: bool,
}Expand description
Decoded element size VINT (marker stripped).
Fields§
§value: u64Size in bytes, or the VINT_DATA bit pattern when Self::unknown.
unknown: booltrue when every VINT_DATA bit is 1 (RFC 8794 “unknown size”).
Trait Implementations§
impl Copy for VintSize
impl Eq for VintSize
impl StructuralPartialEq for VintSize
Auto Trait Implementations§
impl Freeze for VintSize
impl RefUnwindSafe for VintSize
impl Send for VintSize
impl Sync for VintSize
impl Unpin for VintSize
impl UnsafeUnpin for VintSize
impl UnwindSafe for VintSize
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