pub struct EventEmitter;Expand description
EventEmitter is responsible for sending events and managing event handlers
Implementations§
Source§impl EventEmitter
impl EventEmitter
Sourcepub fn emit(event: AssertionEvent)
pub fn emit(event: AssertionEvent)
Emit an event to all registered handlers
Auto Trait Implementations§
impl Freeze for EventEmitter
impl RefUnwindSafe for EventEmitter
impl Send for EventEmitter
impl Sync for EventEmitter
impl Unpin for EventEmitter
impl UnwindSafe for EventEmitter
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