pub struct LifecycleObserver { /* private fields */ }Expand description
Best-effort, nonblocking observations. Full or closed queues drop new events. Consumers must use the command result, not events, to determine final success.
Implementations§
Source§impl LifecycleObserver
impl LifecycleObserver
pub fn channel() -> (Self, Receiver<LifecycleEvent>)
pub fn with_diagnostics(self, diagnostics: DiagnosticObserver) -> Self
Auto Trait Implementations§
impl Freeze for LifecycleObserver
impl RefUnwindSafe for LifecycleObserver
impl Send for LifecycleObserver
impl Sync for LifecycleObserver
impl Unpin for LifecycleObserver
impl UnsafeUnpin for LifecycleObserver
impl UnwindSafe for LifecycleObserver
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