Structs§

  • Wasm32 target arch does not support time or spawning via tokio so we shim in alternatives here when building for that architecture A Duration type to represent a span of time, typically used for system timeouts.
  • A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.
  • Wasm32 target arch does not support time or spawning via tokio so we shim in alternatives here when building for that architecture Interval returned by interval and interval_at.

Functions§

  • Wasm32 target arch does not support time or spawning via tokio so we shim in alternatives here when building for that architecture Creates new Interval that yields with interval of period. The first tick completes immediately. The default MissedTickBehavior is Burst, but this can be configured by calling set_missed_tick_behavior.
  • Wasm32 target arch does not support time or spawning via tokio so we shim in alternatives here when building for that architecture Waits until duration has elapsed.
  • Wasm32 target arch does not support time or spawning via tokio so we shim in alternatives here when building for that architecture Spawns a new asynchronous task, returning a JoinHandle for it.
  • Wasm32 target arch does not support time or spawning via tokio so we shim in alternatives here when building for that architecture Requires a Future to complete before the specified duration has elapsed.