Skip to main content

DfirErased

Type Alias DfirErased 

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

Type alias for a type-erased Dfir that can be stored in heterogeneous collections. Created via Dfir::into_erased.

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 */ }