Skip to main content

HookFuture

Type Alias HookFuture 

Source
pub type HookFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
Expand description

Boxed future returned by an object-safe generated lifecycle hook.

Aliased Typeยง

#[repr(transparent)]
pub struct HookFuture<'a, T> { /* private fields */ }