Docs.rs
chroniker-0.5.1
chroniker 0.5.1
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
DevOrc
Dependencies
Versions
84%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
chroniker
0.5.1
All Items
Crate Items
Modules
Structs
Functions
Crate
chroniker
Copy item path
Source
Modules
§
units
The units module is the most important module in the chroniker library. Most other functions rely on this module. All it does is convert different TimeUnits.
Structs
§
Timer
A thin wrapper for
std::time::Instant
. The timer is for timing different parts of a program
Functions
§
current_
time
Returns the current time since January 1st, 1970 in a given unit.
current_
time_
millis
Returns the current system time in milliseconds.
sleep
Sleeps the thread for the supplied amount of time in milliseconds.