[][src]Struct finny::decl::FsmEventBuilderState

pub struct FsmEventBuilderState<'a, TFsm, TContext, TEvent, TState> { /* fields omitted */ }

Implementations

impl<'a, TFsm, TContext, TEvent, TState> FsmEventBuilderState<'a, TFsm, TContext, TEvent, TState>[src]

pub fn internal_transition<'b>(
    &'b self
) -> FsmEventBuilderTransition<'b, TFsm, TContext, TEvent, TState>
[src]

An internal transition doesn't trigger the state's entry and exit actions, as opposed to self-transitions.

pub fn self_transition<'b>(
    &'b self
) -> FsmEventBuilderTransition<'b, TFsm, TContext, TEvent, TState>
[src]

A self transition triggers this state's entry and exit actions, while an internal transition does not.

pub fn transition_to<'b, TStateTo>(
    &'b self
) -> FsmEventBuilderTransitionFull<'b, TFsm, TContext, TEvent, TState, TStateTo>
[src]

Transition into this state. The transition can have a guard and an action.

Auto Trait Implementations

impl<'a, TFsm, TContext, TEvent, TState> RefUnwindSafe for FsmEventBuilderState<'a, TFsm, TContext, TEvent, TState> where
    TContext: RefUnwindSafe,
    TEvent: RefUnwindSafe,
    TFsm: RefUnwindSafe,
    TState: RefUnwindSafe
[src]

impl<'a, TFsm, TContext, TEvent, TState> Send for FsmEventBuilderState<'a, TFsm, TContext, TEvent, TState> where
    TContext: Sync,
    TEvent: Send,
    TFsm: Sync,
    TState: Sync
[src]

impl<'a, TFsm, TContext, TEvent, TState> Sync for FsmEventBuilderState<'a, TFsm, TContext, TEvent, TState> where
    TContext: Sync,
    TEvent: Sync,
    TFsm: Sync,
    TState: Sync
[src]

impl<'a, TFsm, TContext, TEvent, TState> Unpin for FsmEventBuilderState<'a, TFsm, TContext, TEvent, TState> where
    TEvent: Unpin
[src]

impl<'a, TFsm, TContext, TEvent, TState> UnwindSafe for FsmEventBuilderState<'a, TFsm, TContext, TEvent, TState> where
    TContext: RefUnwindSafe,
    TEvent: UnwindSafe,
    TFsm: RefUnwindSafe,
    TState: RefUnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.