pub enum DagChange {
Define {
dag: Box<Dag>,
parse_id: String,
pause: bool,
},
Conflict {
dag_id: DagId,
places: Vec<DagLocation>,
pause: bool,
},
Remove {
dag_id: DagId,
},
}Expand description
A change to the DAG list.
Variants§
Define
The DAG is defined in one place by this parse: it becomes the current version (stored
once per parse), and the DAG is no longer removed or in conflict. A trigger new to it,
or of another kind, is stored paused, and losing it deletes its switch (decision 459);
pause pauses an existing one too.
Fields
Conflict
The DAG ID is defined in more than one place: it can’t run.
Fields
§
places: Vec<DagLocation>Every place defining it.
Remove
The DAG is no longer defined: hidden, its history kept.
Trait Implementations§
impl Eq for DagChange
impl StructuralPartialEq for DagChange
Auto Trait Implementations§
impl Freeze for DagChange
impl RefUnwindSafe for DagChange
impl Send for DagChange
impl Sync for DagChange
impl Unpin for DagChange
impl UnsafeUnpin for DagChange
impl UnwindSafe for DagChange
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more