Struct coarsetime::Clock [−][src]
pub struct Clock;
System time
Implementations
impl Clock
[src]
impl Clock
[src]pub fn now_since_epoch() -> UnixTimeStamp
[src]
Returns the elapsed time since the UNIX epoch
pub fn recent_since_epoch() -> UnixTimeStamp
[src]
Returns the elapsed time since the UNIX epoch, based on the latest explicit time update
pub fn update()
[src]
Updates the system time - This is completely equivalent to calling Instant::update()
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Clock
impl RefUnwindSafe for Clock
impl UnwindSafe for Clock
impl UnwindSafe for Clock