Skip to main content

HookHandlerChain

Type Alias HookHandlerChain 

Source
pub type HookHandlerChain<T> = Vec<Arc<dyn FnContextPinBox<T, Output = Pin<Box<dyn Future<Output = T> + Send>>>>>;
Expand description

A type alias for a hook handler chain.

This type is used to represent a chain of middleware handlers that can be executed sequentially.

Aliased Typeยง

pub struct HookHandlerChain<T> { /* private fields */ }