pub trait AuditSink: Send + Sync {
// Required method
fn record(&self, event: AuditEvent);
}Expand description
Destination for all security audit events.
Implementations persist events to Merkle chain + file, or are no-ops for tests.
Required Methods§
Sourcefn record(&self, event: AuditEvent)
fn record(&self, event: AuditEvent)
Record a security audit event.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".