Type Alias DefaultTimeProvider

Source
pub type DefaultTimeProvider = ChronoTimeProvider;
Expand description

Default time provider implementation.

Defined as ChronoTimeProvider if chrono feature is enabled. Otherwise defined as NullTimeProvider.

Aliased Type§

struct DefaultTimeProvider { /* private fields */ }

Implementations

Trait Implementations

Source§

impl Clone for ChronoTimeProvider

Source§

fn clone(&self) -> ChronoTimeProvider

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ChronoTimeProvider

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl TimeProvider for ChronoTimeProvider

Source§

impl Copy for ChronoTimeProvider