pub trait AuditSink: Send + Sync {
// Required method
fn record(&self, event: AuditEvent);
}Expand description
Receives one immutable AuditEvent per decision. Implementations must be cheap
and non-blocking; the data plane records on the request path.
Required Methods§
fn record(&self, event: AuditEvent)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".