pub enum WriterCodec {
None,
Zstandard,
}Expand description
The stream codec selected by a crate::Writer.
Variants§
None
Store the existing raw transformed streams unchanged.
Zstandard
Compress each existing raw transformed stream as an independent Zstandard frame.
Trait Implementations§
Source§impl Clone for WriterCodec
impl Clone for WriterCodec
Source§fn clone(&self) -> WriterCodec
fn clone(&self) -> WriterCodec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WriterCodec
Source§impl Debug for WriterCodec
impl Debug for WriterCodec
Source§impl Default for WriterCodec
impl Default for WriterCodec
Source§fn default() -> WriterCodec
fn default() -> WriterCodec
Returns the “default value” for a type. Read more
impl Eq for WriterCodec
Source§impl PartialEq for WriterCodec
impl PartialEq for WriterCodec
impl StructuralPartialEq for WriterCodec
Auto Trait Implementations§
impl Freeze for WriterCodec
impl RefUnwindSafe for WriterCodec
impl Send for WriterCodec
impl Sync for WriterCodec
impl Unpin for WriterCodec
impl UnsafeUnpin for WriterCodec
impl UnwindSafe for WriterCodec
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