Struct hooks_core::NextValueWith
source · Implementations§
Trait Implementations§
source§impl<'hook, H, Args, F: FnOnce(Pin<&mut H>) -> Args> Future for NextValueWith<'hook, H, Args, F>where
H: Hook<Args> + ?Sized,
impl<'hook, H, Args, F: FnOnce(Pin<&mut H>) -> Args> Future for NextValueWith<'hook, H, Args, F>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, F: FnOnce(Pin<&mut H>) -> Args> Unpin for NextValueWith<'hook, H, Args, F>
Auto Trait Implementations§
impl<'hook, H: ?Sized, Args, F> RefUnwindSafe for NextValueWith<'hook, H, Args, F>where
F: RefUnwindSafe,
H: RefUnwindSafe,
impl<'hook, H: ?Sized, Args, F> Send for NextValueWith<'hook, H, Args, F>where
F: Send,
H: Send,
impl<'hook, H: ?Sized, Args, F> Sync for NextValueWith<'hook, H, Args, F>where
F: Sync,
H: Sync,
impl<'hook, H, Args, F> !UnwindSafe for NextValueWith<'hook, H, Args, F>
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