Time

Type Alias Time 

Source
pub type Time = u64;
Expand description

This library uses a simple discrete time model.

We do not use unchecked arithmetic, so any over- or underflow will be detected by the Rust runtime system.

Trait Implementations§

Source§

impl From<Duration> for Time

Source§

fn from(original: Duration) -> Self

Converts to this type from the input type.
Source§

impl From<Offset> for Time

Source§

fn from(original: Offset) -> Self

Converts to this type from the input type.
Source§

impl From<Service> for Time

Source§

fn from(original: Service) -> Self

Converts to this type from the input type.