pub trait ExperimentObservation {
type Key: Eq + Hash + Clone;
// Required methods
fn comparison_key(&self) -> Self::Key;
fn winner_label(&self) -> &'static str;
fn ratio_value(&self) -> f64;
fn coverage_ratio(&self) -> f64;
}Required Associated Types§
Required Methods§
fn comparison_key(&self) -> Self::Key
fn winner_label(&self) -> &'static str
fn ratio_value(&self) -> f64
fn coverage_ratio(&self) -> f64
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".