Skip to main content

Module sink

Module sink 

Source
Expand description

The audit sink abstraction and an in-memory test sink.

Structs§

AuditRecord
A serialized, sink-ready audit record.
MemorySink
In-memory sink for tests.

Enums§

AuditError
Errors that a sink can report.

Constants§

HEADER_PREV_HASH
Record-header key for the previous chain head, as lowercase hex of 32 bytes.
HEADER_SEQ
Record-header key for the per-broker chain sequence number in decimal ASCII.

Traits§

AuditSink
Destination for serialized audit records.