pub enum CompressionType {
NoCompression = 0,
SnappyCompression = 1,
}
Expand description
| DB contents are stored in a set of blocks, each | of which holds a sequence of key,value pairs. | Each block may be compressed before being | stored in a file. The following enum describes | which compression method (if any) is used to | compress a block.
Variants§
NoCompression = 0
| @note | | do not change the values of existing | entries, as these are part of the persistent | format on disk. |
SnappyCompression = 1
Auto Trait Implementations§
impl Freeze for CompressionType
impl RefUnwindSafe for CompressionType
impl Send for CompressionType
impl Sync for CompressionType
impl Unpin for CompressionType
impl UnwindSafe for CompressionType
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