Trait asyncio::clock::Clock [] [src]

pub trait Clock: Send + 'static {
    type Duration;
    type TimePoint: Add<Self::Duration, Output=Self::TimePoint> + Into<Expiry>;
    fn now() -> Self::TimePoint;
}

Associated Types

Required Methods

Implementors