pub trait AuditStore: Send + Sync {
// Required method
fn record_audit_event(
&self,
scope: &str,
event_type: &str,
payload: Value,
) -> Result<(), RuntimeError>;
}Expand description
Persistence backend for runtime audit hooks.
Required Methods§
fn record_audit_event( &self, scope: &str, event_type: &str, payload: Value, ) -> Result<(), RuntimeError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".