pub enum DriftStatus {
Clean,
SpecDrifted {
stored_hash: String,
current_hash: String,
},
ArtifactDrifted {
stored_hash: String,
current_hash: String,
artifact_path: String,
},
Unavailable {
reason: String,
},
}Expand description
Result of drift detection for a single artifact mapping.
Variants§
Clean
Both spec and artifact hashes match stored values.
SpecDrifted
The spec node’s content has changed.
ArtifactDrifted
The artifact file’s content has changed.
Cannot check drift (missing file, missing hash, etc.).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DriftStatus
impl RefUnwindSafe for DriftStatus
impl Send for DriftStatus
impl Sync for DriftStatus
impl Unpin for DriftStatus
impl UnsafeUnpin for DriftStatus
impl UnwindSafe for DriftStatus
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more