Skip to main content

ConnectionLifecycle

Trait ConnectionLifecycle 

Source
pub trait ConnectionLifecycle {
    // Required methods
    fn register_hook(&mut self, hook: Arc<dyn ConnectionLifecycleHook>);
    fn connect(&self) -> IntegrationResult<()>;
    fn disconnect(&self) -> IntegrationResult<()>;
}

Required Methods§

Implementors§