pub enum UpdateOutcome {
NoUpdate,
Applied(ArtifactDescriptor),
RolledBack {
attempted: ArtifactDescriptor,
reason: String,
},
}Expand description
Final result of one update attempt.
Variants§
NoUpdate
Provider reported no eligible update.
Applied(ArtifactDescriptor)
Artifact passed activation and health verification.
RolledBack
Activation failed and the previous artifact was restored.
Fields
§
attempted: ArtifactDescriptorArtifact whose activation failed.
Trait Implementations§
Source§impl Clone for UpdateOutcome
impl Clone for UpdateOutcome
Source§fn clone(&self) -> UpdateOutcome
fn clone(&self) -> UpdateOutcome
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 moreSource§impl Debug for UpdateOutcome
impl Debug for UpdateOutcome
impl Eq for UpdateOutcome
Source§impl PartialEq for UpdateOutcome
impl PartialEq for UpdateOutcome
impl StructuralPartialEq for UpdateOutcome
Auto Trait Implementations§
impl Freeze for UpdateOutcome
impl RefUnwindSafe for UpdateOutcome
impl Send for UpdateOutcome
impl Sync for UpdateOutcome
impl Unpin for UpdateOutcome
impl UnsafeUnpin for UpdateOutcome
impl UnwindSafe for UpdateOutcome
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