#[non_exhaustive]pub enum ProvenanceProfile {
Reference,
Ir,
CachedArtifact,
}Expand description
Which provenance profile an artifact was produced under. Validation is BY PROFILE.
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.
Reference
A slow, unoptimized reference build; legal with ir_hash = Unhashed; never cache-valid.
Ir
An artifact built from a hashed intermediate representation.
CachedArtifact
A validated, cache-eligible artifact.
Trait Implementations§
Source§impl Clone for ProvenanceProfile
impl Clone for ProvenanceProfile
impl Copy for ProvenanceProfile
Source§impl Debug for ProvenanceProfile
impl Debug for ProvenanceProfile
impl Eq for ProvenanceProfile
Source§impl PartialEq for ProvenanceProfile
impl PartialEq for ProvenanceProfile
impl StructuralPartialEq for ProvenanceProfile
Auto Trait Implementations§
impl Freeze for ProvenanceProfile
impl RefUnwindSafe for ProvenanceProfile
impl Send for ProvenanceProfile
impl Sync for ProvenanceProfile
impl Unpin for ProvenanceProfile
impl UnsafeUnpin for ProvenanceProfile
impl UnwindSafe for ProvenanceProfile
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