☰
Clock
Required Methods
now
Implementors
In backoff
?
Trait
backoff
::
Clock
source
·
[
−
]
pub trait Clock { fn
now
(&self) ->
Instant
; }
Expand description
Clock returns the current time.
Required Methods
§
source
fn
now
(&self) ->
Instant
Implementors
§
source
§
impl
Clock
for
SystemClock