Function wall
Source pub fn wall() -> Wall
Available on crate feature std only.
Expand description
Captures the current wall-clock time.
Shortcut for Wall::now. Use it for timestamps. For elapsed-time
measurement, use now instead — wall-clock readings can jump.
§Examples
use clock_lib as clock;
let stamp = clock::wall();
let secs = stamp.unix_seconds();
assert!(secs > 0);