Function time::get_time

source ·
pub fn get_time() -> Timespec
Expand description

Returns the current time as a timespec containing the seconds and nanoseconds since 1970-01-01T00:00:00Z.