pub struct ZLibCompressionStrategy;Trait Implementations§
Source§impl Clone for ZLibCompressionStrategy
 
impl Clone for ZLibCompressionStrategy
Source§fn clone(&self) -> ZLibCompressionStrategy
 
fn clone(&self) -> ZLibCompressionStrategy
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 CompressionStrategy for ZLibCompressionStrategy
 
impl CompressionStrategy for ZLibCompressionStrategy
Source§fn compress<'life0, 'life1, 'async_trait>(
    &'life0 self,
    uncompressed: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CompressionError>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
 
fn compress<'life0, 'life1, 'async_trait>(
    &'life0 self,
    uncompressed: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CompressionError>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
Compresses the provided data asynchronously. Read more
Source§fn decompress<'life0, 'life1, 'async_trait>(
    &'life0 self,
    compressed: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CompressionError>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
 
fn decompress<'life0, 'life1, 'async_trait>(
    &'life0 self,
    compressed: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CompressionError>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
Decompresses the provided data asynchronously. Read more
Auto Trait Implementations§
impl Freeze for ZLibCompressionStrategy
impl RefUnwindSafe for ZLibCompressionStrategy
impl Send for ZLibCompressionStrategy
impl Sync for ZLibCompressionStrategy
impl Unpin for ZLibCompressionStrategy
impl UnwindSafe for ZLibCompressionStrategy
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