pub trait TimerBindingsTypes {
type Timer: Debug + Send + Sync;
type DispatchId: Clone;
type UniqueTimerId: PartialEq + Eq;
}
Expand description
Opaque types provided by bindings used by TimerContext
.
Required Associated Types§
Sourcetype DispatchId: Clone
type DispatchId: Clone
The type used to dispatch fired timers from bindings to core.
Sourcetype UniqueTimerId: PartialEq + Eq
type UniqueTimerId: PartialEq + Eq
A value that uniquely identifiers a Timer
. It is given along with the
DispatchId
whenever a timer is fired.
See TimerContext::unique_timer_id
for details.