Clock
backoff
0.4.0
Clock
Required Methods
now
Implementors
In crate backoff
Modules
backoff
default
exponential
Structs
SystemClock
Enums
Error
Traits
Clock
Notify
Functions
retry
retry_notify
Type Aliases
ExponentialBackoff
ExponentialBackoffBuilder
backoff
Trait
Clock
Copy item path
Settings
Help
Summary
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
§
Source
§
impl
Clock
for
SystemClock