pub struct LifecycleHooks { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ConnectionLifecycle for LifecycleHooks
impl ConnectionLifecycle for LifecycleHooks
fn register_hook(&mut self, hook: Arc<dyn ConnectionLifecycleHook>)
fn connect(&self) -> IntegrationResult<()>
fn disconnect(&self) -> IntegrationResult<()>
Source§impl Default for LifecycleHooks
impl Default for LifecycleHooks
Source§fn default() -> LifecycleHooks
fn default() -> LifecycleHooks
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LifecycleHooks
impl !RefUnwindSafe for LifecycleHooks
impl Send for LifecycleHooks
impl Sync for LifecycleHooks
impl Unpin for LifecycleHooks
impl UnsafeUnpin for LifecycleHooks
impl !UnwindSafe for LifecycleHooks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more