Skip to main content

ConnectionLifecycleHook

Trait ConnectionLifecycleHook 

Source
pub trait ConnectionLifecycleHook: Send + Sync {
    // Provided methods
    fn on_connect(&self) -> IntegrationResult<()> { ... }
    fn on_disconnect(&self) -> IntegrationResult<()> { ... }
}

Provided Methods§

Implementors§