Skip to main content

SharedPopulationObserver

Type Alias SharedPopulationObserver 

Source
pub type SharedPopulationObserver = Arc<Mutex<dyn PopulationObserver>>;
Expand description

Shared handle to a PopulationObserver. Backed by parking_lot::Mutex so the observer handle and the recording-tier sinks in rlevo-benchmarks share one lock type (ADR 0010); aliased so call sites do not have to spell out the Arc<Mutex<…>> shape every time.

Aliased Type§

pub struct SharedPopulationObserver { /* private fields */ }