#[repr(u8)]pub enum ValueFlag {
Raw = 0,
Lz4 = 1,
}Expand description
One-byte tag stored alongside the encoded payload.
Variants§
Raw = 0
Payload bytes are the original input, byte-identical.
Lz4 = 1
Payload bytes are an LZ4 block with a little-endian u32 raw length.
Implementations§
Trait Implementations§
impl Copy for ValueFlag
impl Eq for ValueFlag
impl StructuralPartialEq for ValueFlag
Auto Trait Implementations§
impl Freeze for ValueFlag
impl RefUnwindSafe for ValueFlag
impl Send for ValueFlag
impl Sync for ValueFlag
impl Unpin for ValueFlag
impl UnsafeUnpin for ValueFlag
impl UnwindSafe for ValueFlag
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