Skip to main content

now

Function now 

Source
pub fn now() -> Instant
Expand description

Returns the start of the current runtime turn.

Tasks polled in the same turn observe the same instant, see Runtime::now. Returns Instant::now() outside of a runtime.