pub struct Base(_);Expand description
Default Io filter
Trait Implementations
sourceimpl Filter for Base
impl Filter for Base
fn query(&self, id: TypeId) -> Option<Box<dyn Any>>
sourcefn poll_shutdown(&self) -> Poll<Result<()>>
fn poll_shutdown(&self) -> Poll<Result<()>>
Gracefully shutdown filter
sourcefn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<ReadStatus>
fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<ReadStatus>
Check readiness for read operations
sourcefn 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)
sourcefn 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
fn release_write_buf(&self, buf: BytesVec) -> Result<(), Error>
Auto Trait Implementations
impl !RefUnwindSafe for Base
impl !Send for Base
impl !Sync for Base
impl Unpin for Base
impl !UnwindSafe for Base
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more