Skip to main content

HooksFactory

Trait HooksFactory 

Source
pub trait HooksFactory: Send + Sync {
    // Required method
    fn build(&self, session: HookSession) -> Arc<dyn Hooks> ⓘ;
}

Required Methods§

Source

fn build(&self, session: HookSession) -> Arc<dyn Hooks> ⓘ

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§