pub trait Load {
type Metric: PartialOrd;
// Required method
fn load(&self) -> Self::Metric;
}
Expand description
Exposes a load metric.
Required Associated Types§
Sourcetype Metric: PartialOrd
type Metric: PartialOrd
A comparable load metric. Lesser values are “preferable” to greater values.