Skip to main content

duration_to_nanos

Function duration_to_nanos 

Source
fn duration_to_nanos(duration: Duration) -> u64
Expand description

Saturates at u64::MAX nanoseconds (~584 years), beyond any real threshold.