Expand description
Structs§
- Context
- A lightweight context for inline codegen that avoids the overhead of the full scheduled graph (no tokio channels, no scheduler queues, no loop machinery).
- Dfir
- An executable DFIR dataflow, as created by
dfir_syntax!. Provides theSelf::run,Self::run_available, andSelf::run_tickfamily of methods to execute the dataflow.
Traits§
- Tick
Closure - Base trait of the tick closure traits: names the
MetricsStatetypestate of the context the closure expects, so thatDfir<Tick>can be parameterized by the closure alone. - Tick
Closure Async - A tick closure that can run a tick as a future. See
TickClosurefor the hierarchy. - Tick
Closure Both - A tick closure that supports both the sync and the async runners. Implemented automatically
for every type implementing both
TickClosureSyncandTickClosureAsync; seeTickClosurefor the hierarchy. - Tick
Closure Sync - A tick closure that can run a tick synchronously. See
TickClosurefor the hierarchy.
Type Aliases§
- Dfir
Erased - A type-erased
Dfirthat supports both the sync and the async runners. Created viaDfir::into_erased. PreferDfirErasedSyncorDfirErasedAsyncwhen only one is needed. - Dfir
Erased Async - A type-erased
Dfirthat supports only the async runners (Dfir::run_tick,Dfir::run_available,Dfir::run). Created viaDfir::into_erased_async. - Dfir
Erased Sync - A type-erased
Dfirthat supports only the sync runners (Dfir::run_tick_sync,Dfir::run_available_sync). Created viaDfir::into_erased_sync.