pub struct Base(/* private fields */);Expand description
Base filter that connects a filter chain to the underlying transport.
Trait Implementations§
Source§impl Filter for Base
impl Filter for Base
Source§fn query(&self, id: TypeId) -> Option<Box<dyn Any>>
fn query(&self, id: TypeId) -> Option<Box<dyn Any>>
Returns type-indexed information exposed by this chain.
Source§fn poll_ready(&self, _: &mut Context<'_>) -> Poll<Result<(), Error>>
fn poll_ready(&self, _: &mut Context<'_>) -> Poll<Result<(), Error>>
Checks whether the chain is ready to process more input. Read more
Source§fn process_read_buf(&self, _: &mut FilterCtx<'_>) -> Result<(), Error>
fn process_read_buf(&self, _: &mut FilterCtx<'_>) -> Result<(), Error>
Processes incoming data from the transport toward the application.
Auto Trait Implementations§
impl !RefUnwindSafe for Base
impl !Send for Base
impl !Sync for Base
impl !UnwindSafe for Base
impl Freeze for Base
impl Unpin for Base
impl UnsafeUnpin for Base
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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