#[non_exhaustive]pub enum Target {
Continue,
Goto(SHandle),
Enter(SmHandle),
Complete,
}Expand description
Result of a transition
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Continue
Keep the current State
Goto(SHandle)
Transition into a new State
Enter(SmHandle)
Start a nested StateMachine, will come back to this State once
the nested state machine completes
Complete
Terminate the state machine
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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