pub enum LogEvidence {
Complete,
Running,
Partial,
Truncated,
Expired,
Missing,
NotOutlined,
Unknown,
}Expand description
How much of a job’s log there is to read, in order of precedence.
Variants§
Complete
Every line the job printed, outlined.
Running
The job still runs: lines may come.
Partial
Outlined only from LogOutline::from: an older runnerd stored the lines before it.
Truncated
Cut at history.log_max: what the job printed after was not kept.
Expired
Deleted after history.logs, or being deleted.
Missing
No log was captured.
NotOutlined
Stored by a runnerd that kept no outline: the lines read, without their structure.
Unknown
A reading a newer daemon gives.
Implementations§
Trait Implementations§
Source§impl Clone for LogEvidence
impl Clone for LogEvidence
impl Copy for LogEvidence
Source§impl Debug for LogEvidence
impl Debug for LogEvidence
Source§impl<'de> Deserialize<'de> for LogEvidence
impl<'de> Deserialize<'de> for LogEvidence
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 LogEvidence
Source§impl PartialEq for LogEvidence
impl PartialEq for LogEvidence
Source§impl Serialize for LogEvidence
impl Serialize for LogEvidence
impl StructuralPartialEq for LogEvidence
Auto Trait Implementations§
impl Forget for LogEvidence
impl Freeze for LogEvidence
impl Move for LogEvidence
impl RefUnwindSafe for LogEvidence
impl Send for LogEvidence
impl Sync for LogEvidence
impl Unpin for LogEvidence
impl UnsafeUnpin for LogEvidence
impl UnwindSafe for LogEvidence
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.