pub enum BlockType {
Raw,
Rle,
Compressed,
Reserved,
}Expand description
Block types in Zstandard.
Variants§
Raw
Raw uncompressed block.
Rle
RLE block (single byte repeated).
Compressed
Compressed block with literals and sequences.
Reserved
Reserved (invalid).
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 UnsafeUnpin 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