Struct hooks_core::NextValueWithDefaultArgs
source · pub struct NextValueWithDefaultArgs<'hook, H: ?Sized, Args>(_);
Implementations§
source§impl<'hook, H: ?Sized, Args> NextValueWithDefaultArgs<'hook, H, Args>
impl<'hook, H: ?Sized, Args> NextValueWithDefaultArgs<'hook, H, Args>
pub fn new(hook: Pin<&'hook mut H>) -> Self
Trait Implementations§
source§impl<'hook, H, Args> Future for NextValueWithDefaultArgs<'hook, H, Args>where
H: Hook<Args> + ?Sized,
Args: Default,
impl<'hook, H, Args> Future for NextValueWithDefaultArgs<'hook, H, Args>where
H: Hook<Args> + ?Sized,
Args: Default,
§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 NextValueWithDefaultArgs<'hook, H, Args>
Auto Trait Implementations§
impl<'hook, H: ?Sized, Args> RefUnwindSafe for NextValueWithDefaultArgs<'hook, H, Args>where
Args: RefUnwindSafe,
H: RefUnwindSafe,
impl<'hook, H: ?Sized, Args> Send for NextValueWithDefaultArgs<'hook, H, Args>where
Args: Send,
H: Send,
impl<'hook, H: ?Sized, Args> Sync for NextValueWithDefaultArgs<'hook, H, Args>where
Args: Sync,
H: Sync,
impl<'hook, H, Args> !UnwindSafe for NextValueWithDefaultArgs<'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