Trait netstack3_core::TimerBindingsTypes
source · 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.
Object Safety§
This trait is not object safe.