pub enum Kind {
Constant = 0,
Plain = 1,
Fsst = 2,
Dict = 3,
}Expand description
What a string chunk is encoded as. The discriminant is the tag byte and is part of the format.
Variants§
Constant = 0
One value repeated.
Plain = 1
Lengths and raw bytes.
Fsst = 2
Lengths, a symbol table, and FSST compressed bytes.
Dict = 3
The distinct values as a string chunk of their own, and codes into it as an integer chunk.
Implementations§
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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