Enum ezlog::CompressLevel
source · pub enum CompressLevel {
Fast,
Default,
Best,
}Expand description
Compress level
can be define as one of the following: FAST, DEFAULT, BEST
Variants§
Trait Implementations§
source§impl Clone for CompressLevel
impl Clone for CompressLevel
source§fn clone(&self) -> CompressLevel
fn clone(&self) -> CompressLevel
Returns a copy 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 CompressLevel
impl Debug for CompressLevel
source§impl From<CompressLevel> for u8
impl From<CompressLevel> for u8
source§fn from(orig: CompressLevel) -> Self
fn from(orig: CompressLevel) -> Self
Converts to this type from the input type.
source§impl From<u8> for CompressLevel
impl From<u8> for CompressLevel
source§impl Hash for CompressLevel
impl Hash for CompressLevel
source§impl PartialEq for CompressLevel
impl PartialEq for CompressLevel
source§fn eq(&self, other: &CompressLevel) -> bool
fn eq(&self, other: &CompressLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CompressLevel
impl StructuralEq for CompressLevel
impl StructuralPartialEq for CompressLevel
Auto Trait Implementations§
impl RefUnwindSafe for CompressLevel
impl Send for CompressLevel
impl Sync for CompressLevel
impl Unpin for CompressLevel
impl UnwindSafe for CompressLevel
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