pub struct Layer<F, L = Base>(_, _);Trait Implementations§
source§impl<F, L> Filter for Layer<F, L>where
F: FilterLayer,
L: Filter,
impl<F, L> Filter for Layer<F, L>where
F: FilterLayer,
L: Filter,
fn query(&self, id: TypeId) -> Option<Box<dyn Any>>
source§fn shutdown(&self, io: &IoRef, stack: &mut Stack, idx: usize) -> Result<Poll<()>>
fn shutdown(&self, io: &IoRef, stack: &mut Stack, idx: usize) -> Result<Poll<()>>
Gracefully shutdown filter
fn process_read_buf(
&self,
io: &IoRef,
stack: &mut Stack,
idx: usize,
nbytes: usize
) -> Result<usize>
source§fn process_write_buf(
&self,
io: &IoRef,
stack: &mut Stack,
idx: usize
) -> Result<()>
fn process_write_buf(
&self,
io: &IoRef,
stack: &mut Stack,
idx: usize
) -> Result<()>
Process write buffer
source§fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<ReadStatus>
fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<ReadStatus>
Check readiness for read operations
source§fn poll_write_ready(&self, cx: &mut Context<'_>) -> Poll<WriteStatus>
fn poll_write_ready(&self, cx: &mut Context<'_>) -> Poll<WriteStatus>
Check readiness for write operations