pub struct Until<'n, F> { /* private fields */ }Expand description
Internal future type used to implement Notify::until. This makes it
much easier to recognize the future in a debugger.
Trait Implementations§
Source§impl<F, T> Future for Until<'_, F>where
F: FnMut() -> T,
T: TestResult,
impl<F, T> Future for Until<'_, F>where
F: FnMut() -> T,
T: TestResult,
Source§type Output = <T as TestResult>::Output
type Output = <T as TestResult>::Output
The type of value produced on completion.
impl<'pin, 'n, F> Unpin for Until<'n, F>where
PinnedFieldsOf<__Until<'pin, 'n, F>>: Unpin,
Auto Trait Implementations§
impl<'n, F> Freeze for Until<'n, F>where
F: Freeze,
impl<'n, F> RefUnwindSafe for Until<'n, F>where
F: RefUnwindSafe,
impl<'n, F> Send for Until<'n, F>where
F: Send,
impl<'n, F> Sync for Until<'n, F>where
F: Sync,
impl<'n, F> UnwindSafe for Until<'n, F>where
F: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more