Skip to main content

DfirErasedAsync

Type Alias DfirErasedAsync 

Source
pub type DfirErasedAsync<M = DfirMetrics> = Dfir<TickClosureErasedAsync<M>>;
Expand description

A type-erased Dfir that supports only the async runners (Dfir::run_tick, Dfir::run_available, Dfir::run). Created via Dfir::into_erased_async.

M is the MetricsState of the erased dataflow: DfirMetrics (the default) if metrics are tracked, or () if not.

Aliased Typeยง

pub struct DfirErasedAsync<M = DfirMetrics> { /* private fields */ }