pub trait EventRecorder:
Send
+ Sync
+ Debug
+ 'static {
// Required methods
fn record(&self, event: Box<dyn Event>);
fn event_type_filter(&self) -> EventTypeFilterRef;
fn close(&self);
}Expand description
EventRecorder trait defines the interface for recording events.
Required Methods§
Sourcefn record(&self, event: Box<dyn Event>)
fn record(&self, event: Box<dyn Event>)
Records an event for persistence and processing by EventHandler.
Sourcefn event_type_filter(&self) -> EventTypeFilterRef
fn event_type_filter(&self) -> EventTypeFilterRef
Returns the event types accepted by this recorder.