pub struct NoAudit;Expand description
A sink that records nothing.
For a deployment that audits in front of this server instead, and for tests that are not about the log.
Trait Implementations§
Source§impl AuditSink for NoAudit
impl AuditSink for NoAudit
Source§fn record(&self, _entry: &AuditEntry)
fn record(&self, _entry: &AuditEntry)
Records one request. Read more
impl Copy for NoAudit
Auto Trait Implementations§
impl Freeze for NoAudit
impl RefUnwindSafe for NoAudit
impl Send for NoAudit
impl Sync for NoAudit
impl Unpin for NoAudit
impl UnsafeUnpin for NoAudit
impl UnwindSafe for NoAudit
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