pub trait AuditService: Send + Sync {
// Required methods
fn audit_snapshot(&self, limit: usize) -> CoreAuditSnapshot;
fn query_audit_snapshot<'life0, 'async_trait>(
&'life0 self,
query: CoreAuditQuery,
) -> Pin<Box<dyn Future<Output = CoreAuditSnapshot> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn subscribe_audit_events(&self) -> Receiver<AuditEvent>;
fn record_audit_events_lagged(&self, skipped: u64);
}