Crate wasm_timer
source ·Modules
- Extension traits for the standard
Stream
andFuture
traits.
Structs
- A future representing the notification that an elapsed duration has occurred.
- A measurement of a monotonically nondecreasing clock. Opaque and useful only with
Duration
. - A stream representing notifications at fixed interval
- Error returned from
TimerHandle::set_fallback
. - A measurement of the system clock, useful for talking to external entities like the file system or other processes.
- A “timer heap” used to power separately owned instances of
Delay
andInterval
. - A handle to a
Timer
which is used to create instances of aDelay
.
Constants
- An anchor in time which can be used to create new
SystemTime
instances or learn about where in time aSystemTime
lies.
Traits
- An extension trait for futures which provides convenient accessors for timing out execution and such.
- An extension trait for streams which provides convenient accessors for timing out execution and such.