birl/instant

An instant given by a non-decreasing clock.

Types

pub opaque type Instant

Functions

pub fn add(value: Instant, duration: Duration) -> Instant
pub fn compare(a: Instant, b: Instant) -> Order
pub fn difference(a: Instant, b: Instant) -> Duration
pub fn now() -> Instant
pub fn subtract(value: Instant, duration: Duration) -> Instant
Search Document