#[non_exhaustive]pub enum ArtifactKnowledgeState {
Current,
Stale,
Indeterminate,
Diverged,
}Expand description
Knowledge state of a representation produced by an activity.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Current
Every comparable input and output fingerprint still matches.
Stale
An input changed or an upstream artifact is not current.
Indeterminate
Stored evidence is insufficient to decide whether the artifact is current.
Diverged
The output itself differs from the fingerprint captured when produced.
Trait Implementations§
Source§impl Clone for ArtifactKnowledgeState
impl Clone for ArtifactKnowledgeState
Source§fn clone(&self) -> ArtifactKnowledgeState
fn clone(&self) -> ArtifactKnowledgeState
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 ArtifactKnowledgeState
Source§impl Debug for ArtifactKnowledgeState
impl Debug for ArtifactKnowledgeState
impl Eq for ArtifactKnowledgeState
Source§impl Hash for ArtifactKnowledgeState
impl Hash for ArtifactKnowledgeState
Source§impl PartialEq for ArtifactKnowledgeState
impl PartialEq for ArtifactKnowledgeState
impl StructuralPartialEq for ArtifactKnowledgeState
Auto Trait Implementations§
impl Freeze for ArtifactKnowledgeState
impl RefUnwindSafe for ArtifactKnowledgeState
impl Send for ArtifactKnowledgeState
impl Sync for ArtifactKnowledgeState
impl Unpin for ArtifactKnowledgeState
impl UnsafeUnpin for ArtifactKnowledgeState
impl UnwindSafe for ArtifactKnowledgeState
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