Skip to main content

AuditEventStore

Trait AuditEventStore 

Source
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§

Source

fn read_all(&self) -> Vec<AuditEvent>

Read all available events from the underlying storage.

Source

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".

Implementors§