pub enum BlockSize {
Auto = 0,
Max64KB = 4,
Max256KB = 5,
Max1MB = 6,
Max4MB = 7,
Max8MB = 8,
}
Expand description
Different predefines blocksizes to choose when compressing data.
Variants§
Auto = 0
Will detect optimal frame size based on the size of the first write call
Max64KB = 4
The default block size.
Max256KB = 5
256KB block size.
Max1MB = 6
1MB block size.
Max4MB = 7
4MB block size.
Max8MB = 8
8MB block size.
Trait Implementations§
impl Copy for BlockSize
impl StructuralPartialEq for BlockSize
Auto Trait Implementations§
impl Freeze for BlockSize
impl RefUnwindSafe for BlockSize
impl Send for BlockSize
impl Sync for BlockSize
impl Unpin for BlockSize
impl UnwindSafe for BlockSize
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