pub enum PreparePhase {
Checking,
Downloading {
downloaded: u64,
total: Option<u64>,
},
Verifying,
Ready,
Cached,
}Expand description
Phase within a single asset’s lifecycle.
Variants§
Checking
Checking whether the asset is already cached and valid.
Downloading
Downloading the asset.
Verifying
Verifying checksum after download.
Ready
Asset is ready (freshly downloaded and verified).
Cached
Asset was already cached with a valid checksum.
Trait Implementations§
Source§impl Clone for PreparePhase
impl Clone for PreparePhase
Source§fn clone(&self) -> PreparePhase
fn clone(&self) -> PreparePhase
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 moreAuto Trait Implementations§
impl Freeze for PreparePhase
impl RefUnwindSafe for PreparePhase
impl Send for PreparePhase
impl Sync for PreparePhase
impl Unpin for PreparePhase
impl UnsafeUnpin for PreparePhase
impl UnwindSafe for PreparePhase
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