pub enum StateEnvelopeViolation {
Mismatch {
at: Tick,
required: StateValue,
requirer: ActivityId,
},
Conflict {
at: Tick,
setters: Vec<ActivityId>,
},
}Expand description
A state violation some or every schedule has at a tick.
Variants§
Mismatch
A requirement sees another (or an ambiguous) value.
Fields
§
required: StateValueThe required value.
§
requirer: ActivityIdThe activity that holds the requirement; the smallest id if several fail at at.
Conflict
Sets of different values may coincide (or always coincide) at the tick.
Fields
§
setters: Vec<ActivityId>Every activity with a set that can lie at at. Sorted, without duplicates.
Implementations§
Trait Implementations§
Source§impl Clone for StateEnvelopeViolation
impl Clone for StateEnvelopeViolation
Source§impl Debug for StateEnvelopeViolation
impl Debug for StateEnvelopeViolation
impl Eq for StateEnvelopeViolation
Source§impl Hash for StateEnvelopeViolation
impl Hash for StateEnvelopeViolation
Source§impl PartialEq for StateEnvelopeViolation
impl PartialEq for StateEnvelopeViolation
impl StructuralPartialEq for StateEnvelopeViolation
Auto Trait Implementations§
impl Forget for StateEnvelopeViolation
impl Freeze for StateEnvelopeViolation
impl Move for StateEnvelopeViolation
impl RefUnwindSafe for StateEnvelopeViolation
impl Send for StateEnvelopeViolation
impl Sync for StateEnvelopeViolation
impl Unpin for StateEnvelopeViolation
impl UnsafeUnpin for StateEnvelopeViolation
impl UnwindSafe for StateEnvelopeViolation
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