Function time::get_time [−] [src]

pub fn get_time() -> Timespec

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