pub trait CbrProvider: Send {
// Required method
fn measure_cbr(&mut self) -> Option<f64>;
}Expand description
A source of Channel Busy Ratio measurements.
Implementations return the most recent CBR in [0.0, 1.0], or None when
no (new) measurement is available. The DCC entity keeps its previous output
when None is returned.
Required Methods§
Sourcefn measure_cbr(&mut self) -> Option<f64>
fn measure_cbr(&mut self) -> Option<f64>
Return the current CBR measurement, if any.