Expand description
Event types for the Event DAG system.
The Event DAG provides unidirectional event flow with upstream signaling (the “tram car tracks” pattern).
§Event Header
The EventHeader is a 64-byte cache-aligned structure for optimal memory access.
It contains all metadata needed to process an event without accessing the payload.
Structs§
- Blake3
Verifier - Blake3-based event verifier (default, recommended for performance).
- Causality
- W3C Trace Context compatible distributed tracing.
- DagPosition
- Position of an event in the DAG.
- Enhanced
Provenance - Enhanced provenance with evidence chains.
- Event
- A complete event with header and payload.
- Event
Builder - Builder for creating events with proper positioning.
- Event
Content 🔒Ref - Borrows header + payload for content-only hashing.
- Event
Flags - Flags for event processing hints.
- Event
Header - Event header with all metadata needed for processing.
- Event
Kind - Event kind encoded as a 16-bit value.
- Hash
Chain - Hash chain for tamper-evident event log.
- Sha256
Verifier - SHA-256-based event verifier (for compatibility).
Enums§
- Evidence
Ref - Evidence reference types for provenance tracking.
- Hash
Algorithm - Hash algorithm for event integrity.
- Upstream
Signal - Signals that can be sent upstream in the DAG (“tram car tracks”).
- Verification
Status - Verification status for evidence.
Traits§
- Event
Dag - Trait for Event DAG operations.
- Event
DagExt - Extension trait for EventDag with convenience methods.
- Event
Verifier - Trait for cryptographic event verification.
Functions§
- validate_
event_ kind - Validate that an event kind is a recognized, defined variant.