Structs§
- A basic scheduled event.
task
will be called once when added to the scheduler. A mutable reference tostate
will be passed totask
on each call. iftask
returnsSome(Duration)
,task
will be rerun after that amount of time has passed. iftask
returnsNone
, theBasicEvent
will be dropped
Traits§
Type Aliases§
- Alias of
TimeDelta
.