Module writer
Expand description
Append-only journal writer with length-prefixed framing.
Each record is written as: [4-byte LE length][payload bytes].
The writer auto-assigns seq, event_id, mono_ns, ts_utc,
and run_id on every append.
Structs§
- Journal
Meta - Metadata written to a
.metasidecar file alongside each new journal. - Journal
Writer - Append-only journal writer.
- Journal
Writer Builder - Builder for
JournalWriter.
Enums§
- Fsync
Policy - Controls when the writer calls
fsyncon the journal file.