[][src]Trait finny::FsmFactory

pub trait FsmFactory {
    type Fsm: FsmBackend;
    pub fn new_with<Q>(
        context: <Self::Fsm as FsmBackend>::Context,
        queue: Q
    ) -> FsmResult<FsmFrontend<Self::Fsm, Q>>
    where
        Q: FsmEventQueue<Self::Fsm>
, { ... }
pub fn new(
        context: <Self::Fsm as FsmBackend>::Context
    ) -> FsmResult<FsmFrontend<Self::Fsm, FsmEventQueueVec<Self::Fsm>>> { ... } }

Builds a frontend for running your FSM.

Associated Types

Loading content...

Provided methods

pub fn new_with<Q>(
    context: <Self::Fsm as FsmBackend>::Context,
    queue: Q
) -> FsmResult<FsmFrontend<Self::Fsm, Q>> where
    Q: FsmEventQueue<Self::Fsm>, 
[src]

Build a new frontend for the FSM with all the environmental services provided by the caller.

pub fn new(
    context: <Self::Fsm as FsmBackend>::Context
) -> FsmResult<FsmFrontend<Self::Fsm, FsmEventQueueVec<Self::Fsm>>>
[src]

Build a new frontend for the FSM with a FsmEventQueueVec queue.

Loading content...

Implementors

Loading content...