pub struct NextValue<'hook, H: ?Sized> { /* private fields */ }
Expand description
A future which outputs the next value of the hook.
See HookExt::next_value
.
Implementations§
Trait Implementations§
Source§impl<'hook, H> Future for NextValue<'hook, H>
impl<'hook, H> Future for NextValue<'hook, H>
impl<'hook, H: ?Sized> Unpin for NextValue<'hook, H>
Auto Trait Implementations§
impl<'hook, H> Freeze for NextValue<'hook, H>where
H: ?Sized,
impl<'hook, H> RefUnwindSafe for NextValue<'hook, H>where
H: RefUnwindSafe + ?Sized,
impl<'hook, H> Send for NextValue<'hook, H>
impl<'hook, H> Sync for NextValue<'hook, H>
impl<'hook, H> !UnwindSafe for NextValue<'hook, H>
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