pub struct SqliteSink { /* private fields */ }Expand description
Event sink that writes to the SQLite store.
Wraps the existing Store and converts ProxyEvent → StoreEvent.
Implementations§
Trait Implementations§
Source§impl EventSink for SqliteSink
impl EventSink for SqliteSink
Source§fn on_event(&self, event: &ProxyEvent)
fn on_event(&self, event: &ProxyEvent)
Process a single event. Must not block.
Source§fn on_batch(&self, events: &[ProxyEvent])
fn on_batch(&self, events: &[ProxyEvent])
Process a batch of events. Default calls
on_event for each.Auto Trait Implementations§
impl Freeze for SqliteSink
impl !RefUnwindSafe for SqliteSink
impl Send for SqliteSink
impl Sync for SqliteSink
impl Unpin for SqliteSink
impl UnsafeUnpin for SqliteSink
impl !UnwindSafe for SqliteSink
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