pub fn secs_to_nanos_unchecked(secs: f64) -> u64Expand description
Converts seconds to nanoseconds (ns), panicking on invalid input.
This is a convenience wrapper around secs_to_nanos when the caller expects
the input to be trusted and in-range.
pub fn secs_to_nanos_unchecked(secs: f64) -> u64Converts seconds to nanoseconds (ns), panicking on invalid input.
This is a convenience wrapper around secs_to_nanos when the caller expects
the input to be trusted and in-range.