Skip to main content

TrackingAggregationVariant

Trait TrackingAggregationVariant 

Source
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§

Source

fn descriptor(&self) -> VariantDescriptor

Source

fn selected_slots(&self, total_scenarios: usize) -> Vec<usize>

Provided Methods§

Source

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".

Implementors§