creusot_
contracts
0.4.0
In creusot_
contracts::
std::
time
Structs
Duration
Instant
SystemTime
SystemTimeError
TryFromFloatSecsError
Constants
UNIX_EPOCH
Traits
Add
Sub
Functions
nanos_to_micros
nanos_to_millis
nanos_to_secs
secs_to_nanos
creusot_contracts
::
std
::
time
Function
nanos_to_secs
Copy item path
Settings
Help
Summary
Source
pub fn nanos_to_secs(nanos:
Int
) ->
Int
Expand description
logic
nanos /
1_000_000_000