pub fn f64_seconds_to_u64_millis(seconds: f64, value_name: &str) -> Result<u64>Expand description
Converts seconds represented as f64 to rounded milliseconds.
§Errors
Returns an error when seconds is non-finite, negative, outside std::time::Duration’s
range, cannot be rounded safely, or the rounded millisecond count exceeds u64::MAX.