pub enum CompressionMetadata {
None,
Delta {
base: i64,
},
BitPacked {
count: usize,
},
DeltaBitPacked {
base: i64,
count: usize,
},
Dictionary {
dict_id: u32,
},
RunLength {
run_count: usize,
},
}Expand description
Metadata needed for decompression.
Variants§
None
No metadata needed.
Delta
Delta encoding metadata.
BitPacked
Bit-packing metadata.
DeltaBitPacked
Delta + bit-packing metadata.
Dictionary
Dictionary metadata.
RunLength
Run-length metadata.
Trait Implementations§
Source§impl Clone for CompressionMetadata
impl Clone for CompressionMetadata
Source§fn clone(&self) -> CompressionMetadata
fn clone(&self) -> CompressionMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompressionMetadata
impl RefUnwindSafe for CompressionMetadata
impl Send for CompressionMetadata
impl Sync for CompressionMetadata
impl Unpin for CompressionMetadata
impl UnwindSafe for CompressionMetadata
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