pub enum InstallOutcome {
Installed,
Unchanged,
Upgraded {
from_version: Option<u32>,
},
SkippedUserModified,
OverwrittenWithForce,
SkippedUnknown,
}Expand description
Per-skill result of a single install attempt.
Variants§
Installed
Skill was newly written to disk.
Unchanged
File already matches the current shipped version.
Upgraded
Existing file was one of our previous shipped versions — auto-upgraded.
SkippedUserModified
Existing file was user-modified; overwrite refused.
OverwrittenWithForce
--force was set; user-modified file was overwritten anyway.
SkippedUnknown
Skill is unknown to the embedded history AND already has a file on disk with an unknown hash — nothing classified, nothing changed.
Trait Implementations§
Source§impl Clone for InstallOutcome
impl Clone for InstallOutcome
Source§fn clone(&self) -> InstallOutcome
fn clone(&self) -> InstallOutcome
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 InstallOutcome
impl Debug for InstallOutcome
Source§impl PartialEq for InstallOutcome
impl PartialEq for InstallOutcome
Source§fn eq(&self, other: &InstallOutcome) -> bool
fn eq(&self, other: &InstallOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InstallOutcome
impl StructuralPartialEq for InstallOutcome
Auto Trait Implementations§
impl Freeze for InstallOutcome
impl RefUnwindSafe for InstallOutcome
impl Send for InstallOutcome
impl Sync for InstallOutcome
impl Unpin for InstallOutcome
impl UnsafeUnpin for InstallOutcome
impl UnwindSafe for InstallOutcome
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,
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.