Skip to main content

DfirErased

Type Alias DfirErased 

Source
pub type DfirErased<M = DfirMetrics> = Dfir<TickClosureErased<M>>;
Expand description

A type-erased Dfir that supports both the sync and the async runners. Created via Dfir::into_erased. Prefer DfirErasedSync or DfirErasedAsync when only one is needed.

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

Aliased Typeยง

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