Type Alias BoxedTimerCallback

Source
pub type BoxedTimerCallback = Box<dyn Fn() + Send + 'static>;
Expand description

A callback to pass to the TimerScheduler to be called when the timer is dispatched.

Aliased Typeยง

pub struct BoxedTimerCallback(/* private fields */);