Trait time::ClockType

source ·
pub trait ClockType: Sealed {
    type Unit: 'static;
}
Expand description

Either a Monotonic or WallTime clock.

This trait is sealed and so cannot be implemented outside of this crate.

Required Associated Types§

source

type Unit: 'static

The type returned by the now function.

Implementors§