pub struct LoggingLifecycleListener;
Expand description
Default lifecycle listener that logs state changes
Trait Implementations§
Source§impl LifecycleListener for LoggingLifecycleListener
impl LifecycleListener for LoggingLifecycleListener
Source§fn on_state_change(&self, old_state: LifecycleState, new_state: LifecycleState)
fn on_state_change(&self, old_state: LifecycleState, new_state: LifecycleState)
Called when the server state changes
Auto Trait Implementations§
impl Freeze for LoggingLifecycleListener
impl RefUnwindSafe for LoggingLifecycleListener
impl Send for LoggingLifecycleListener
impl Sync for LoggingLifecycleListener
impl Unpin for LoggingLifecycleListener
impl UnwindSafe for LoggingLifecycleListener
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