Type Definition extfsm::TransitionFn [] [src]

type TransitionFn<ExtendedState, EventType, StateType, TransitionFnArguments, ErrorType> = Fn(RefMut<Box<ExtendedState>>, EventType, OptionalFnArg<TransitionFnArguments>) -> TransitionResult<EventType, StateType, TransitionFnArguments, ErrorType>;

transition function used, takes optional argument and returns either with error or an optional set of events to be added to processing (at the end of event queue)