pub enum WriteCompression {
None,
Zlib,
Bzip2,
}Expand description
Compression method for writer output.
Variants§
None
Store chunks without compression.
Zlib
Compress chunks with zlib.
Bzip2
Compress chunks with BZip2.
Trait Implementations§
Source§impl Clone for WriteCompression
impl Clone for WriteCompression
impl Copy for WriteCompression
Source§impl Debug for WriteCompression
impl Debug for WriteCompression
Source§impl Default for WriteCompression
impl Default for WriteCompression
impl Eq for WriteCompression
Source§impl PartialEq for WriteCompression
impl PartialEq for WriteCompression
impl StructuralPartialEq for WriteCompression
Auto Trait Implementations§
impl Freeze for WriteCompression
impl RefUnwindSafe for WriteCompression
impl Send for WriteCompression
impl Sync for WriteCompression
impl Unpin for WriteCompression
impl UnsafeUnpin for WriteCompression
impl UnwindSafe for WriteCompression
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