Struct hooks_core::NextValue
source · pub struct NextValue<'hook, H: ?Sized, Args>(_);
Implementations§
Trait Implementations§
source§impl<'hook, H, Args> Future for NextValue<'hook, H, Args>where
H: Hook<Args> + ?Sized,
impl<'hook, H, Args> Future for NextValue<'hook, H, Args>where
H: Hook<Args> + ?Sized,
§type Output = Option<<H as HookLifetime<'hook, Args, &'hook <H as HookBounds>::Bounds>>::Value>
type Output = Option<<H as HookLifetime<'hook, Args, &'hook <H as HookBounds>::Bounds>>::Value>
The type of value produced on completion.
impl<'hook, H: ?Sized, Args> Unpin for NextValue<'hook, H, Args>
Auto Trait Implementations§
impl<'hook, H: ?Sized, Args> RefUnwindSafe for NextValue<'hook, H, Args>where
Args: RefUnwindSafe,
H: RefUnwindSafe,
impl<'hook, H: ?Sized, Args> Send for NextValue<'hook, H, Args>where
Args: Send,
H: Send,
impl<'hook, H: ?Sized, Args> Sync for NextValue<'hook, H, Args>where
Args: Sync,
H: Sync,
impl<'hook, H, Args> !UnwindSafe for NextValue<'hook, H, Args>
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