pub enum RecordMark {
Kept,
Removed,
Skipped,
Unknown,
}Expand description
What became of a failed job’s record, as a list marks it (JobSummary::record_mark): what the history notes,
which RecordNote::state reads in full on the job’s page. Docker’s images are the inventory (GET /v1/records);
a record removed outside runnerd reads removed once runnerd lists the images and finds it gone.
Variants§
Kept
It is kept: a shell can open in it.
Removed
It was made, then removed.
Skipped
None was made.
Unknown
A newer daemon’s mark this version does not know.
Implementations§
Source§impl RecordMark
impl RecordMark
Sourcepub fn of(note: &RecordNote) -> RecordMark
pub fn of(note: &RecordNote) -> RecordMark
The mark of a record the history notes as note, in RecordNote::state’s precedence.
Trait Implementations§
Source§impl Clone for RecordMark
impl Clone for RecordMark
impl Copy for RecordMark
Source§impl Debug for RecordMark
impl Debug for RecordMark
Source§impl<'de> Deserialize<'de> for RecordMark
impl<'de> Deserialize<'de> for RecordMark
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RecordMark
Source§impl PartialEq for RecordMark
impl PartialEq for RecordMark
Source§impl Serialize for RecordMark
impl Serialize for RecordMark
impl StructuralPartialEq for RecordMark
Auto Trait Implementations§
impl Forget for RecordMark
impl Freeze for RecordMark
impl Move for RecordMark
impl RefUnwindSafe for RecordMark
impl Send for RecordMark
impl Sync for RecordMark
impl Unpin for RecordMark
impl UnsafeUnpin for RecordMark
impl UnwindSafe for RecordMark
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.