pub enum ReplacementPhase {
Registering,
Swapping,
}Expand description
How far a recorded replacement has come (§19.3).
Variants§
Registering
Recorded before the fresh device registers. The new installation is in its hidden directory and the old one in the store’s place.
Swapping
The swap has begun: the installations are moving, or have moved.
Trait Implementations§
Source§impl Clone for ReplacementPhase
impl Clone for ReplacementPhase
Source§fn clone(&self) -> ReplacementPhase
fn clone(&self) -> ReplacementPhase
Returns a duplicate of the value. Read more
1.0.0 · 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 ReplacementPhase
impl Debug for ReplacementPhase
Source§impl<'de> Deserialize<'de> for ReplacementPhase
impl<'de> Deserialize<'de> for ReplacementPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReplacementPhase
impl PartialEq for ReplacementPhase
Source§impl Serialize for ReplacementPhase
impl Serialize for ReplacementPhase
impl Copy for ReplacementPhase
impl Eq for ReplacementPhase
impl StructuralPartialEq for ReplacementPhase
Auto Trait Implementations§
impl Freeze for ReplacementPhase
impl RefUnwindSafe for ReplacementPhase
impl Send for ReplacementPhase
impl Sync for ReplacementPhase
impl Unpin for ReplacementPhase
impl UnsafeUnpin for ReplacementPhase
impl UnwindSafe for ReplacementPhase
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
Checks if this value is equivalent to the given key. Read more