pub enum DraftState {
Pending,
Processing,
Accepted,
Skipped,
Failed,
Quarantined,
}Expand description
Lifecycle state of a draft on the filesystem.
State transitions are atomic directory renames; the on-disk location of the file IS the ground truth for state.
Variants§
Pending
Not yet processed by any librarian run.
Processing
A librarian run is currently processing this draft.
Accepted
Successfully written to the canonical log.
Skipped
Intentionally skipped (for example exact duplicate).
Failed
Retry budget exhausted; operator review required.
Quarantined
Unsafe, conflicting, or unresolved; review only.
Implementations§
Source§impl DraftState
impl DraftState
Trait Implementations§
Source§impl Clone for DraftState
impl Clone for DraftState
Source§fn clone(&self) -> DraftState
fn clone(&self) -> DraftState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DraftState
impl Debug for DraftState
Source§impl Hash for DraftState
impl Hash for DraftState
Source§impl PartialEq for DraftState
impl PartialEq for DraftState
impl Copy for DraftState
impl Eq for DraftState
impl StructuralPartialEq for DraftState
Auto Trait Implementations§
impl Freeze for DraftState
impl RefUnwindSafe for DraftState
impl Send for DraftState
impl Sync for DraftState
impl Unpin for DraftState
impl UnsafeUnpin for DraftState
impl UnwindSafe for DraftState
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.