Enum TurnStopClass
pub enum TurnStopClass {
Recoverable,
CloseOut,
Fatal,
}Expand description
How the turn should be treated once it stopped.
Declarative metadata: nothing branches on it yet.
Variants§
Recoverable
The condition may clear on its own; retrying the turn is reasonable.
CloseOut
The turn is over but its work so far is worth reporting to the user.
Fatal
The turn cannot proceed and retrying it will not help.
Trait Implementations§
Source§impl Clone for TurnStopClass
impl Clone for TurnStopClass
Source§fn clone(&self) -> TurnStopClass
fn clone(&self) -> TurnStopClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TurnStopClass
Source§impl Debug for TurnStopClass
impl Debug for TurnStopClass
impl Eq for TurnStopClass
Source§impl PartialEq for TurnStopClass
impl PartialEq for TurnStopClass
impl StructuralPartialEq for TurnStopClass
Auto Trait Implementations§
impl Freeze for TurnStopClass
impl RefUnwindSafe for TurnStopClass
impl Send for TurnStopClass
impl Sync for TurnStopClass
impl Unpin for TurnStopClass
impl UnsafeUnpin for TurnStopClass
impl UnwindSafe for TurnStopClass
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