pub struct ZstdEnc { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Transformer for ZstdEnc
impl Transformer for ZstdEnc
fn process_bytes<'life0, 'life1, 'async_trait>(
&'life0 mut self,
buf: &'life1 mut BytesMut,
finished: bool,
should_flush: bool,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn add_sender(&mut self, s: Sender<Message>)
fn get_type(&self) -> TransformerType
fn notify<'life0, 'life1, 'async_trait>(
&'life0 mut self,
message: &'life1 Message,
) -> Pin<Box<dyn Future<Output = Result<Response>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for ZstdEnc
impl RefUnwindSafe for ZstdEnc
impl Send for ZstdEnc
impl Sync for ZstdEnc
impl Unpin for ZstdEnc
impl !UnwindSafe for ZstdEnc
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