Skip to main content

Clock

Type Alias Clock 

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

The present moment, as a caller tells it (ExternalConditionProvider::now).

Aliased Typeยง

pub struct Clock { /* private fields */ }