pub struct ReadinessWaiter { /* private fields */ }Expand description
A one-shot registration in the I/O readiness hub. Register before probing sources, re-register on each poll, and drop to cancel. Using the pinned address as the key keeps distinct waiters even when they share a task waker.
Implementations§
Trait Implementations§
Source§impl Default for ReadinessWaiter
impl Default for ReadinessWaiter
Source§fn default() -> ReadinessWaiter
fn default() -> ReadinessWaiter
Returns the “default value” for a type. Read more
Source§impl Drop for ReadinessWaiter
impl Drop for ReadinessWaiter
Auto Trait Implementations§
impl Freeze for ReadinessWaiter
impl RefUnwindSafe for ReadinessWaiter
impl Send for ReadinessWaiter
impl Sync for ReadinessWaiter
impl !Unpin for ReadinessWaiter
impl !UnsafeUnpin for ReadinessWaiter
impl UnwindSafe for ReadinessWaiter
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