pub enum PlanViolation<S: Storage = Heap> {
Level {
timeline: TimelineId,
violation: Violation<S>,
},
State {
timeline: StateId,
violation: StateViolation<S>,
},
}Expand description
The earliest violation of a plan and the timeline it occurs on.
S is the storage of the plan’s timelines, PlanStorage::Line.
Variants§
Level
A numeric timeline leaves its bounds.
State
A state timeline fails a requirement or has contradicting sets.
Implementations§
Trait Implementations§
impl<S: Eq + Storage> Eq for PlanViolation<S>
impl<S: PartialEq + Storage> StructuralPartialEq for PlanViolation<S>
Auto Trait Implementations§
impl<S> Forget for PlanViolation<S>
impl<S> Freeze for PlanViolation<S>
impl<S> Move for PlanViolation<S>
impl<S> RefUnwindSafe for PlanViolation<S>
impl<S> Send for PlanViolation<S>
impl<S> Sync for PlanViolation<S>
impl<S> Unpin for PlanViolation<S>
impl<S> UnsafeUnpin for PlanViolation<S>
impl<S> UnwindSafe for PlanViolation<S>
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