Trait backoff::Clock

source ·
pub trait Clock {
    // Required method
    fn now(&self) -> Instant;
}
Expand description

Clock returns the current time.

Required Methods§

source

fn now(&self) -> Instant

Implementors§