pub struct InMemoryAudit { /* private fields */ }Expand description
Collects events in memory. Used by tests and for local introspection.
Implementations§
Source§impl InMemoryAudit
impl InMemoryAudit
Trait Implementations§
Source§impl AuditSink for InMemoryAudit
impl AuditSink for InMemoryAudit
fn record(&self, event: AuditEvent)
Source§impl Default for InMemoryAudit
impl Default for InMemoryAudit
Source§fn default() -> InMemoryAudit
fn default() -> InMemoryAudit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryAudit
impl !RefUnwindSafe for InMemoryAudit
impl Send for InMemoryAudit
impl Sync for InMemoryAudit
impl Unpin for InMemoryAudit
impl UnsafeUnpin for InMemoryAudit
impl UnwindSafe for InMemoryAudit
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