Skip to main content

default_clock

Function default_clock 

Source
pub fn default_clock() -> Arc<dyn Clock> 
Expand description

Create the default system clock.

Returns a SystemClock wrapped in the Clock trait object so the SDK builder does not need to import SystemClock from crate::shared.