pub trait MultiTransition<E, S> { // Required methods fn from(self, state: State<S>) -> E; fn via(self, transition: Transition<S>) -> E; }