Nanos¶
Collection of utility functions for converting various durations of time to nanoseconds, for passing to other functions in the time package.
Constructors¶
create¶
Returns¶
- Nanos val^
Public Functions¶
from_seconds¶
Parameters¶
- t: U64 val
Returns¶
- U64 val
from_millis¶
Parameters¶
- t: U64 val
Returns¶
- U64 val
from_micros¶
Parameters¶
- t: U64 val
Returns¶
- U64 val
from_seconds_f¶
Parameters¶
- t: F64 val
Returns¶
- U64 val
from_millis_f¶
Parameters¶
- t: F64 val
Returns¶
- U64 val
from_micros_f¶
Parameters¶
- t: F64 val
Returns¶
- U64 val
from_wall_clock¶
Parameters¶
Returns¶
- U64 val
eq¶
Parameters¶
- that: Nanos val
Returns¶
- Bool val
ne¶
Parameters¶
- that: Nanos val
Returns¶
- Bool val