pub struct Zstd {}
Trait Implementations§
Source§impl Compression for Zstd
impl Compression for Zstd
fn compress<'a, W: Write + 'a>(dest: W) -> Result<Box<dyn Compressor + 'a>>
fn decompress<'a, R: Read + Seek + 'a>( source: R, ) -> Result<Box<dyn Decompressor + 'a>>
fn append_extension(media_type: &str) -> String
Auto Trait Implementations§
impl Freeze for Zstd
impl RefUnwindSafe for Zstd
impl Send for Zstd
impl Sync for Zstd
impl Unpin for Zstd
impl UnwindSafe for Zstd
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