pub struct Sealed(/* private fields */);Expand description
Type-erased filter chain used by IoBoxed.
Trait Implementations§
Source§impl Filter for Sealed
impl Filter for Sealed
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 process_read_buf(&self, ctx: &mut FilterCtx<'_>) -> Result<(), Error>
fn process_read_buf(&self, ctx: &mut FilterCtx<'_>) -> Result<(), Error>
Processes incoming data from the transport toward the application.
Source§fn process_write_buf(&self, ctx: &mut FilterCtx<'_>) -> Result<(), Error>
fn process_write_buf(&self, ctx: &mut FilterCtx<'_>) -> Result<(), Error>
Processes outgoing data from the application toward the transport.
Source§fn shutdown(&self, ctx: &mut FilterCtx<'_>) -> Result<Poll<()>, Error>
fn shutdown(&self, ctx: &mut FilterCtx<'_>) -> Result<Poll<()>, Error>
Performs graceful shutdown from the outermost layer toward the
transport.
Auto Trait Implementations§
impl !RefUnwindSafe for Sealed
impl !Send for Sealed
impl !Sync for Sealed
impl !UnwindSafe for Sealed
impl Freeze for Sealed
impl Unpin for Sealed
impl UnsafeUnpin for Sealed
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