Struct hooks_core::default_runner::RunningHook
source · pub struct RunningHook<H, G, Args> { /* private fields */ }
Implementations
sourceimpl<H: Hook<Args>, G, Args> RunningHook<H, G, Args>
impl<H: Hook<Args>, G, Args> RunningHook<H, G, Args>
pub fn next_value(&mut self) -> RunningHookNextValue<'_, H, G, Args>ⓘNotable traits for RunningHookNextValue<'hook, H, G, Args>impl<'hook, H, G, Args> Future for RunningHookNextValue<'hook, H, G, Args>where
H: Hook<Args> + Unpin,
G: GetArgsForHook<Runner, H, Args>, type Output = Option<<H as HookLifetime<'hook, Args>>::Value>;
H: Hook<Args> + Unpin,
G: GetArgsForHook<Runner, H, Args>, type Output = Option<<H as HookLifetime<'hook, Args>>::Value>;
Auto Trait Implementations
impl<H, G, Args> RefUnwindSafe for RunningHook<H, G, Args>where
Args: RefUnwindSafe,
G: RefUnwindSafe,
H: RefUnwindSafe,
impl<H, G, Args> Send for RunningHook<H, G, Args>where
Args: Send,
G: Send,
H: Send,
impl<H, G, Args> Sync for RunningHook<H, G, Args>where
Args: Sync,
G: Sync,
H: Sync,
impl<H, G, Args> Unpin for RunningHook<H, G, Args>where
Args: Unpin,
G: Unpin,
H: Unpin,
impl<H, G, Args> UnwindSafe for RunningHook<H, G, Args>where
Args: UnwindSafe,
G: UnwindSafe,
H: UnwindSafe,
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