Skip to main content

Clock

Type Alias Clock 

Source
pub type Clock = Arc<dyn Fn() -> Duration + Send + Sync>;
Expand description

The host’s clock for time limits: the time now, from any fixed start (a wall clock, or a thread’s CPU clock).

Aliased Type§

pub struct Clock { /* private fields */ }