pub enum Action {
Kill {
reason: KillReason,
},
Spawn,
Disable {
reason: DisableReason,
},
EnterFallback,
LeaveFallback,
SaveStateNow,
None,
}Expand description
What the caller does next. Kill, a crash’s EnterFallback and Disable
all leave the engine on the fallback path until a later LeaveFallback.
Disable also ends the process if it is still alive (the third failure can
be a hang).
Variants§
Kill
Fields
§
reason: KillReasonSpawn
Disable
Fields
§
reason: DisableReasonEnterFallback
LeaveFallback
SaveStateNow
None
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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