pub struct InMemoryAuditLogStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AuditLogStore for InMemoryAuditLogStore
impl AuditLogStore for InMemoryAuditLogStore
Source§fn log<'life0, 'async_trait>(
&'life0 self,
event: AuditEvent,
) -> Pin<Box<dyn Future<Output = Result<(), AuditError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn log<'life0, 'async_trait>(
&'life0 self,
event: AuditEvent,
) -> Pin<Box<dyn Future<Output = Result<(), AuditError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Log an audit event (never fails - critical for security)
Source§fn query<'life0, 'async_trait>(
&'life0 self,
filters: AuditQueryFilters,
) -> Pin<Box<dyn Future<Output = Result<Vec<AuditEvent>, AuditError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query<'life0, 'async_trait>(
&'life0 self,
filters: AuditQueryFilters,
) -> Pin<Box<dyn Future<Output = Result<Vec<AuditEvent>, AuditError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Query audit events (for admin dashboards, compliance)
Auto Trait Implementations§
impl !RefUnwindSafe for InMemoryAuditLogStore
impl !UnwindSafe for InMemoryAuditLogStore
impl Freeze for InMemoryAuditLogStore
impl Send for InMemoryAuditLogStore
impl Sync for InMemoryAuditLogStore
impl Unpin for InMemoryAuditLogStore
impl UnsafeUnpin for InMemoryAuditLogStore
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