pub trait TrackingAggregationVariant {
// Required methods
fn descriptor(&self) -> VariantDescriptor;
fn selected_slots(&self, total_scenarios: usize) -> Vec<usize>;
// Provided method
fn sampling_plan(&self, total_scenarios: usize) -> TrackingSamplingPlan { ... }
}Required Methods§
fn descriptor(&self) -> VariantDescriptor
fn selected_slots(&self, total_scenarios: usize) -> Vec<usize>
Provided Methods§
fn sampling_plan(&self, total_scenarios: usize) -> TrackingSamplingPlan
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".