pub enum JournalState {
Published,
NotRecorded,
Cancelled,
Delegated,
}Expand description
Whether a target carried a durable publish receipt in the journal at reconcile time — the left axis of the ADR-0003 §4 state table.
Variants§
Published
The journal holds a target_published receipt for this target.
NotRecorded
The journal holds no receipt for this target (never published, or the publish landed before its receipt was fsynced).
Cancelled
The journal recorded a target_cancelled for this target — a deliberate
skip. Resume must never silently un-cancel it into a publish.
Delegated
The journal recorded a target_delegated for this target — its artifact is
produced by the tag-triggered CI, not the engine (e.g. cargo-dist). Resume
must not try to publish it; there is nothing for the engine to resume.
Trait Implementations§
Source§impl Clone for JournalState
impl Clone for JournalState
Source§fn clone(&self) -> JournalState
fn clone(&self) -> JournalState
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 JournalState
Source§impl Debug for JournalState
impl Debug for JournalState
impl Eq for JournalState
Source§impl PartialEq for JournalState
impl PartialEq for JournalState
impl StructuralPartialEq for JournalState
Auto Trait Implementations§
impl Freeze for JournalState
impl RefUnwindSafe for JournalState
impl Send for JournalState
impl Sync for JournalState
impl Unpin for JournalState
impl UnsafeUnpin for JournalState
impl UnwindSafe for JournalState
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.