pub enum FSMError<'a, State>{
StateDoesNotExist(State),
TransDoesNotExist(StatesConnection<State>),
NoValidTransition {
from: State,
input_data: StreamData<'a>,
},
}Expand description
Error that occurs during initialization or running with FSM
Variants§
Trait Implementations§
impl<'a, State> Copy for FSMError<'a, State>
Auto Trait Implementations§
impl<'a, State> Freeze for FSMError<'a, State>where
State: Freeze,
impl<'a, State> RefUnwindSafe for FSMError<'a, State>where
State: RefUnwindSafe,
impl<'a, State> Send for FSMError<'a, State>where
State: Send,
impl<'a, State> Sync for FSMError<'a, State>where
State: Sync,
impl<'a, State> Unpin for FSMError<'a, State>where
State: Unpin,
impl<'a, State> UnwindSafe for FSMError<'a, State>where
State: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more