pub enum InstallOutcome {
RestartRequired {
executable: PathBuf,
from: String,
to: String,
},
RestartRequiredIndeterminate {
executable: PathBuf,
from: String,
to: String,
error: String,
},
}Variants§
RestartRequired
The swap and durable installed marker completed; restart into the new executable.
RestartRequiredIndeterminate
The executable was swapped, but a subsequent durability or marker step failed.
The caller must restart into executable and let startup recovery inspect the
prepared marker. Treating this as an ordinary pre-swap failure can leave the old
process running after its on-disk executable has 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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.