pub enum WriteCompressionLevel {
Default,
None,
Fast,
Best,
}Expand description
Compression level for writer output.
Variants§
Default
Use the compressor default level.
None
Do not compress.
Fast
Prefer faster compression.
Best
Prefer stronger compression.
Trait Implementations§
Source§impl Clone for WriteCompressionLevel
impl Clone for WriteCompressionLevel
impl Copy for WriteCompressionLevel
Source§impl Debug for WriteCompressionLevel
impl Debug for WriteCompressionLevel
Source§impl Default for WriteCompressionLevel
impl Default for WriteCompressionLevel
impl Eq for WriteCompressionLevel
Source§impl PartialEq for WriteCompressionLevel
impl PartialEq for WriteCompressionLevel
impl StructuralPartialEq for WriteCompressionLevel
Auto Trait Implementations§
impl Freeze for WriteCompressionLevel
impl RefUnwindSafe for WriteCompressionLevel
impl Send for WriteCompressionLevel
impl Sync for WriteCompressionLevel
impl Unpin for WriteCompressionLevel
impl UnsafeUnpin for WriteCompressionLevel
impl UnwindSafe for WriteCompressionLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more