pub trait TimerBindingsTypes {
    type Timer: Debug + Send + Sync;
    type DispatchId: Clone;
}
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.

Implementors§

source§

impl<Id: Debug + Clone + Send + Sync> TimerBindingsTypes for FakeTimerCtx<Id>

§

type Timer = FakeTimer<Id>

§

type DispatchId = Id

source§

impl<Id: Debug + PartialEq + Clone + Send + Sync, Event: Debug, State, FrameMeta> TimerBindingsTypes for FakeBindingsCtx<Id, Event, State, FrameMeta>