pub enum Course {
Pursue,
Abandon,
Superseded,
}Expand description
What was decided about the line a decision is about.
This used to be a verdict stuck on a commit — promising, dead-end,
superseded — and it was never a property of the code. Here it has what it
lacked there: a scope saying which line it is about, a reason in the
prose, and a place in the DAG under the question it was answering. invalid
is not here and will not be: that one really is the code’s, and it stays in
the journal.
Variants§
Pursue
Carry on this way. The default reading of a line nobody judged, so saying it is only needed to take an abandonment back.
Abandon
Explored and not worth carrying on. Kept, never deleted: a line that did not work is the most reusable thing an investigation produces, and the only thing that stops it being discovered again.
Superseded
Somebody did it better elsewhere. Not wrong, not the way.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Course
impl<'de> Deserialize<'de> for Course
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Copy for Course
impl Eq for Course
impl StructuralPartialEq for Course
Auto Trait Implementations§
impl Freeze for Course
impl RefUnwindSafe for Course
impl Send for Course
impl Sync for Course
impl Unpin for Course
impl UnsafeUnpin for Course
impl UnwindSafe for Course
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
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
§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
key and return true if they are equal.