pub trait Load {
type Metric: PartialOrd;
// Required method
fn load(&self) -> Self::Metric;
}
Expand description
A measurement of load on a Service
.
Required Associated Types§
sourcetype Metric: PartialOrd
type Metric: PartialOrd
The metric type outputted by Load
.
Required Methods§
Object Safety§
This trait is not object safe.