pub trait AuditEventStore:
AuditWriter
+ Send
+ Sync {
// Required methods
fn read_all(&self) -> Vec<AuditEvent>;
fn location(&self) -> AuditStorageLocation;
}Expand description
Combined read/write abstraction for audit event storage.
Required Methods§
Sourcefn read_all(&self) -> Vec<AuditEvent>
fn read_all(&self) -> Vec<AuditEvent>
Read all available events from the underlying storage.
Sourcefn location(&self) -> AuditStorageLocation
fn location(&self) -> AuditStorageLocation
Describe the underlying storage location for diagnostics and routing.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".