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