#[non_exhaustive]pub enum TurnState {
Running,
Settled,
Retracted,
Unqueued,
}Expand description
Where a turn stands in the fold.
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.
Running
No turn/completed, accepted turn/retracted or turn/unqueued
applied yet.
Settled
Ended with a turn/completed terminal.
Retracted
Ended by an accepted turn/retracted, in any state. A declined
retract (the submission stood) never sets it: the turn keeps its state.
Unqueued
Reclaimed from the queue before it launched (turn/unqueued, which the
fold applies in any state).
Trait Implementations§
impl Copy for TurnState
impl Eq for TurnState
impl StructuralPartialEq for TurnState
Auto Trait Implementations§
impl Freeze for TurnState
impl RefUnwindSafe for TurnState
impl Send for TurnState
impl Sync for TurnState
impl Unpin for TurnState
impl UnsafeUnpin for TurnState
impl UnwindSafe for TurnState
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