pub fn py_micros_to_nanos(micros: f64) -> PyResult<u64>Expand description
Converts microseconds (μs) to nanoseconds (ns), rounding to the nearest nanosecond.
Returns 0 for a negative input.
§Errors
Returns an error if micros is non-finite or cannot be represented as u64 nanoseconds.