Skip to main content

get_current_time

Function get_current_time 

Source
pub fn get_current_time() -> Time
Expand description

Aktuelle Wall-Clock-Zeit als Time. Auf std-Plattformen via std::time::SystemTime. Auf no_std (kein std-Feature) liefert die Funktion Time::INVALID — Caller muss sich um die Quelle selbst kuemmern (z.B. monotonic Hardware-Clock).

Spec-Referenz: DDS-DCPS 1.4 §2.2.2.2.1.32 get_current_time.