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