Skip to main content

PostConstructFnPtr

Type Alias PostConstructFnPtr 

Source
pub type PostConstructFnPtr = fn(Arc<dyn Any + Send + Sync>) -> Pin<Box<dyn Future<Output = HookResult> + Send + 'static>>;
Expand description

Function pointer that receives a type-erased Arc<T> and calls the #[injectable(post_construct)] hook(s) on the instance.