[−][src]Trait finny::FsmTransitionGuard
Check if this transition is allowed to be entered.
Required methods
pub fn guard<'a, Q: FsmEventQueue<F>>(
event: &E,
context: &EventContext<'a, F, Q>
) -> bool
[src]
event: &E,
context: &EventContext<'a, F, Q>
) -> bool
Return a boolean value whether this transition is usable at the moment. The check shouln't mutate any structures.
Provided methods
pub fn execute_guard<Q: FsmEventQueue<F>>(
frontend: &mut FsmFrontend<F, Q>,
event: &E
) -> bool
[src]
frontend: &mut FsmFrontend<F, Q>,
event: &E
) -> bool