Struct hooks_core::NextValue
source · pub struct NextValue<'hook, H: ?Sized, Args>(_);
Implementations
Trait Implementations
sourceimpl<'hook, H: ?Sized, Args> Future for NextValue<'hook, H, Args>where
H: Hook<Args>,
impl<'hook, H: ?Sized, Args> Future for NextValue<'hook, H, Args>where
H: Hook<Args>,
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more