pub enum CompressMode {
Zlib,
Zstd,
}Expand description
Compression algorithm used for log buffers/files.
Variants§
Zlib
Use zlib framing compatible with the historical xlog format.
Zstd
Use zstd framing supported by the Rust implementation.
Trait Implementations§
Source§impl Clone for CompressMode
impl Clone for CompressMode
Source§fn clone(&self) -> CompressMode
fn clone(&self) -> CompressMode
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 moreSource§impl Debug for CompressMode
impl Debug for CompressMode
Source§impl PartialEq for CompressMode
impl PartialEq for CompressMode
impl Copy for CompressMode
impl Eq for CompressMode
impl StructuralPartialEq for CompressMode
Auto Trait Implementations§
impl Freeze for CompressMode
impl RefUnwindSafe for CompressMode
impl Send for CompressMode
impl Sync for CompressMode
impl Unpin for CompressMode
impl UnsafeUnpin for CompressMode
impl UnwindSafe for CompressMode
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