[−][src]Function uhlc::system_time_clock
pub fn system_time_clock() -> NTP64
A physical clock relying on std::time::SystemTime::now().
It returns a NTP64 relative to std::time::UNIX_EPOCH (1st Jan 1970).
Examples
let hlc = uhlc::HLC::with_clock(uuid::Uuid::new_v4().into(), uhlc::system_time_clock); println!("{}", hlc.new_timestamp().await);