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