pub trait EventCacheController: Send + Sync {
    // Required methods
    fn save_events(&self, events: VecDeque<SCOutputEvent>);
    fn get_filtered_sc_output_events(
        &self,
        filter: &EventFilter,
    ) -> Vec<SCOutputEvent>;
}
Expand description

interface that communicates with the worker thread

Required Methods§

Implementors§