netstack3_core

Trait 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§

Source

type Timer: Debug + Send + Sync

State for a timer created through TimerContext.

Source

type DispatchId: Clone

The type used to dispatch fired timers from bindings to core.

Source

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.

Implementors§