pub struct Observer(/* private fields */);Expand description
A synchronous, non-blocking observer. Callbacks must not panic or call back into the service. Without an observer there is no event queue or task.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Observer
impl !UnwindSafe for Observer
impl Freeze for Observer
impl Send for Observer
impl Sync for Observer
impl Unpin for Observer
impl UnsafeUnpin for Observer
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