Rust

Crate root

Module
What utopia_audit defines at its root.

Modules

Contents

use utopia_audit::Audit;
Rust
pub struct Audit<A: Adapter>

The audit log manager: records logs and reads them back through an Adapter.

A is the adapter type, so calls dispatch statically; Audit<Box<dyn Adapter>> (or Arc) takes any adapter chosen at run time, and &A borrows one.

use utopia_audit::Page;
Rust
pub struct Page

A page of logs: how many, from where, oldest or newest first.

Also implements Default.
use utopia_audit::Range;
Rust
pub struct Range<'a>

A time window: logs after after and before before (both exclusive on ClickHouse and on single bounds; between is inclusive when both are given).