pub struct FileAuditStorage { /* private fields */ }Expand description
File-based audit storage (append-only log file)
Implementations§
Trait Implementations§
Source§impl AuditStorage for FileAuditStorage
impl AuditStorage for FileAuditStorage
Source§fn store<'life0, 'life1, 'async_trait>(
&'life0 self,
event: &'life1 AuditEvent,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn store<'life0, 'life1, 'async_trait>(
&'life0 self,
event: &'life1 AuditEvent,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Store an audit event
Auto Trait Implementations§
impl Freeze for FileAuditStorage
impl RefUnwindSafe for FileAuditStorage
impl Send for FileAuditStorage
impl Sync for FileAuditStorage
impl Unpin for FileAuditStorage
impl UnwindSafe for FileAuditStorage
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