pub trait AlarmClient { // Required method fn alarm(&self); }
Callback handler for when an Alarm fires (a Counter reaches a specific value).
Counter
Callback indicating the alarm time has been reached. The alarm MUST be disabled when this is called. If a new alarm is needed, the client can call Alarm::set_alarm.
Alarm::set_alarm