pub trait TimerEvent {
    // Required method
    fn callback(self, now: TimeValue);
}
Expand description

A trait that all timed events must implement.

Required Methods§

source

fn callback(self, now: TimeValue)

Callback function that will be called when the timer expires.

Implementors§