pub struct Base(/* private fields */);Expand description
Default Io filter
Trait Implementations§
Source§impl Filter for Base
impl Filter for Base
Source§fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
Checks whether read operations may proceed.
Source§fn poll_write_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
fn poll_write_ready(&self, cx: &mut Context<'_>) -> Poll<Readiness>
Checks whether write operations may proceed.
Source§fn process_read_buf(&self, _: &mut FilterCtx<'_>) -> Result<()>
fn process_read_buf(&self, _: &mut FilterCtx<'_>) -> Result<()>
Processes incoming read-buffer data.
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