[−][src]Crate async_timer
Async timer lib
Provides Timer interface that can be used across various primitives of the crate.
Timers
Timer can be implemented through Timer interface. By default library provides common implementations for various platforms which is available through PlatformTimer alias.
If there is implementation for particular platform, then DummyTimer is used. It panics in runtime
Primitives
Re-exports
pub use state::TimerState; |
pub use delay::Delay; |
pub use timed::Timed; |
Modules
| delay | Delaying future Delay |
| provider | Builtin implementations of |
| state | Timer's state. State module |
| timed | Timed wrapper for futures Timed future |
Traits
| Timer | Describes |
Type Definitions
| PlatformTimer | Apple based timer alias. |