pub enum ViolationKind {
TurnReopened,
TerminalWithoutTurn,
DuplicateTerminal,
OpenItemAtTerminal,
DuplicateItemCompleted,
ItemAfterTurnEnd,
ItemReusedAfterCompleted,
}Expand description
A broken lifecycle rule.
Variants§
TurnReopened
turn.started while a turn was already open.
TerminalWithoutTurn
turn.completed or turn.failed with no turn to end.
DuplicateTerminal
A second turn.completed or turn.failed for one turn.
OpenItemAtTerminal
A terminal turn event while items started in the turn were still open.
DuplicateItemCompleted
item.completed for an id that already completed.
ItemAfterTurnEnd
An item event for an item started in a turn that has already ended.
ItemReusedAfterCompleted
item.started or item.updated for an id that already completed: a
completed handle was reused for different content.
Implementations§
Trait Implementations§
Source§impl Clone for ViolationKind
impl Clone for ViolationKind
impl Copy for ViolationKind
Source§impl Debug for ViolationKind
impl Debug for ViolationKind
impl Eq for ViolationKind
Source§impl Hash for ViolationKind
impl Hash for ViolationKind
Source§impl PartialEq for ViolationKind
impl PartialEq for ViolationKind
impl StructuralPartialEq for ViolationKind
Auto Trait Implementations§
impl Forget for ViolationKind
impl Freeze for ViolationKind
impl Move for ViolationKind
impl RefUnwindSafe for ViolationKind
impl Send for ViolationKind
impl Sync for ViolationKind
impl Unpin for ViolationKind
impl UnsafeUnpin for ViolationKind
impl UnwindSafe for ViolationKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.