pub struct Base(_);
Expand description
Default Io
filter
Trait Implementations§
source§impl Filter for Base
impl Filter for Base
fn query(&self, id: TypeId) -> Option<Box<dyn Any>>
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
fn get_read_buf(&self) -> Option<BytesVec>
fn get_write_buf(&self) -> Option<BytesVec>
fn release_read_buf(&self, buf: BytesVec)
source§fn process_read_buf(&self, _: &IoRef, n: usize) -> Result<(usize, usize)>
fn process_read_buf(&self, _: &IoRef, n: usize) -> Result<(usize, usize)>
Process read buffer Read more