Crate thread_timer

Source
Expand description

A simple, cancelable timer implementation with no external dependencies.

Structs§

ThreadTimer
A simple, cancelable timer that can run a thunk after waiting for an arbitrary duration.

Enums§

TimerCancelError
Errors that may be thrown by ThreadTimer::cancel()
TimerStartError
Errors that may be thrown by ThreadTimer::start()