Struct diatomic_waker::WaitUntil
source · pub struct WaitUntil<'a, P, T>{ /* private fields */ }
Expand description
A future that can be await
ed until a predicate is satisfied.
Trait Implementations§
impl<P: FnMut() -> Option<T>, T> Unpin for WaitUntil<'_, P, T>
Auto Trait Implementations§
impl<'a, P, T> Freeze for WaitUntil<'a, P, T>where
P: Freeze,
impl<'a, P, T> !RefUnwindSafe for WaitUntil<'a, P, T>
impl<'a, P, T> Send for WaitUntil<'a, P, T>where
P: Send,
impl<'a, P, T> Sync for WaitUntil<'a, P, T>where
P: Sync,
impl<'a, P, T> !UnwindSafe for WaitUntil<'a, P, T>
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