pub enum BlockType {
Raw,
Rle,
Compressed,
Reserved,
}Expand description
Block types in Zstd.
Variants§
Raw
Raw block - uncompressed data.
Rle
RLE block - single byte repeated.
Compressed
Compressed block - uses Zstd compression.
Reserved
Reserved - invalid, should not appear.
Implementations§
Trait Implementations§
impl Copy for BlockType
impl Eq for BlockType
impl StructuralPartialEq for BlockType
Auto Trait Implementations§
impl Freeze for BlockType
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnwindSafe for BlockType
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