#[non_exhaustive]pub enum Stage {
Downloading,
Extracting,
Installing,
Uninstalling,
Enabling,
Disabling,
}Expand description
The stage of work a ProgressEvent describes for one package.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Downloading
Fetching the package archive. Units are bytes.
Extracting
Unpacking the archive into the package cache. Units are archive entries.
Installing
Copying the package’s files into the target. Units are files.
Uninstalling
Removing the package’s files and record from the target. Has no units: it starts with an unknown total and finishes.
Enabling
Restoring a disabled package’s files. Has no units.
Disabling
Setting a package’s files aside so the game skips them. Has no units.
Trait Implementations§
impl Copy for Stage
impl Eq for Stage
impl StructuralPartialEq for Stage
Auto Trait Implementations§
impl Forget for Stage
impl Freeze for Stage
impl Move for Stage
impl RefUnwindSafe for Stage
impl Send for Stage
impl Sync for Stage
impl Unpin for Stage
impl UnsafeUnpin for Stage
impl UnwindSafe for Stage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.