pub enum PendingState {
Open,
Gated,
Done,
}Expand description
Lifecycle state for a pending item, encoded by its GFM checkbox.
Open([ ]) — active or not started; default for new items.Gated([/]) — code-complete, awaiting an external gate (release, telemetry, field validation). Never auto-reaped.Done([x]) — fully complete; reaped on the next preflight cycle.
Variants§
Implementations§
Source§impl PendingState
impl PendingState
Sourcepub fn from_box_char(c: char) -> Option<PendingState>
pub fn from_box_char(c: char) -> Option<PendingState>
Parse the inside of a […] checkbox. Accepts [X] as Done.
Currently only used by tests; kept on the public API for parser callers
that may need to inspect a single checkbox char in isolation.
Trait Implementations§
Source§impl Clone for PendingState
impl Clone for PendingState
Source§fn clone(&self) -> PendingState
fn clone(&self) -> PendingState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PendingState
Source§impl Debug for PendingState
impl Debug for PendingState
impl Eq for PendingState
Source§impl PartialEq for PendingState
impl PartialEq for PendingState
impl StructuralPartialEq for PendingState
Auto Trait Implementations§
impl Freeze for PendingState
impl RefUnwindSafe for PendingState
impl Send for PendingState
impl Sync for PendingState
impl Unpin for PendingState
impl UnsafeUnpin for PendingState
impl UnwindSafe for PendingState
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§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.