struct Readiness<'a> {
scheduled_io: &'a ScheduledIo,
state: State,
waiter: UnsafeCell<Waiter>,
}
Expand description
Future returned by readiness()
.
Fields§
§scheduled_io: &'a ScheduledIo
§state: State
§waiter: UnsafeCell<Waiter>
Entry in the waiter LinkedList
.
Trait Implementations§
impl Send for Readiness<'_>
impl Sync for Readiness<'_>
Auto Trait Implementations§
impl<'a> !Freeze for Readiness<'a>
impl<'a> !RefUnwindSafe for Readiness<'a>
impl<'a> !Unpin for Readiness<'a>
impl<'a> !UnwindSafe for Readiness<'a>
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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more