Trait asio::clock::Clock [] [src]

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

Associated Types

Required Methods

Implementors