Struct hooks_core::NextValue
source · 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>where
H: Hook + ?Sized,
impl<'hook, H> Future for NextValue<'hook, H>where H: Hook + ?Sized,
impl<'hook, H: ?Sized> Unpin for NextValue<'hook, H>
Auto Trait Implementations§
impl<'hook, H: ?Sized> RefUnwindSafe for NextValue<'hook, H>where H: RefUnwindSafe,
impl<'hook, H: ?Sized> Send for NextValue<'hook, H>where H: Send,
impl<'hook, H: ?Sized> Sync for NextValue<'hook, H>where H: Sync,
impl<'hook, H> !UnwindSafe for NextValue<'hook, H>
Blanket Implementations§
source§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?
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