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_read_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
Checks whether transport read operations may proceed. Read more
Source§fn poll_write_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
fn poll_write_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
Checks whether transport write operations may proceed. Read more
Source§fn process_read_buf(&self, _: &mut FilterCtx<'_>) -> Result<()>
fn process_read_buf(&self, _: &mut FilterCtx<'_>) -> Result<()>
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§
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