pub trait Rate:
'static
+ Send
+ Sync {
const PERIOD: f64;
const VALUE: f64;
const COUNT: u64;
const NANOS_PER_SAMPLE: Ratio<u64>;
}
Required Associated Constants§
const PERIOD: f64
const VALUE: f64
const COUNT: u64
const NANOS_PER_SAMPLE: Ratio<u64>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.