pub enum RestartMode {
Never,
OnFailure,
Always,
}Expand description
When an invoked actor is restarted after it fails.
Variants§
Never
Never (the SCXML default).
OnFailure
After a failure.
Always
After a failure and after a normal completion, which then raises no done.invoke.
Trait Implementations§
Source§impl Clone for RestartMode
impl Clone for RestartMode
impl Copy for RestartMode
Source§impl Debug for RestartMode
impl Debug for RestartMode
impl Eq for RestartMode
Source§impl PartialEq for RestartMode
impl PartialEq for RestartMode
impl StructuralPartialEq for RestartMode
Auto Trait Implementations§
impl Forget for RestartMode
impl Freeze for RestartMode
impl Move for RestartMode
impl RefUnwindSafe for RestartMode
impl Send for RestartMode
impl Sync for RestartMode
impl Unpin for RestartMode
impl UnsafeUnpin for RestartMode
impl UnwindSafe for RestartMode
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