pub struct Base(/* private fields */);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<Readiness>
fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
Check readiness for read operations
Source§fn poll_write_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
fn poll_write_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
Check readiness for write operations
fn process_read_buf( &self, _: FilterCtx<'_>, nbytes: usize, ) -> Result<FilterReadStatus>
Auto Trait Implementations§
impl Freeze for Base
impl !RefUnwindSafe for Base
impl !Send for Base
impl !Sync for Base
impl Unpin for Base
impl UnsafeUnpin for Base
impl !UnwindSafe 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