Skip to main content

PluginAsyncBeforeHookHandler

Type Alias PluginAsyncBeforeHookHandler 

Source
pub type PluginAsyncBeforeHookHandler = Arc<dyn for<'a> Fn(&'a AuthContext, Request<Vec<u8>>) -> Pin<Box<dyn Future<Output = Result<PluginBeforeHookAction, OpenAuthError>> + Send + 'a>> + Send + Sync>;

Aliased Typeยง

pub struct PluginAsyncBeforeHookHandler { /* private fields */ }