secs_to_nanos_unchecked

Function secs_to_nanos_unchecked 

Source
pub fn secs_to_nanos_unchecked(secs: f64) -> u64
Expand 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.