pub enum DownloadPhase {
WaitingForNetwork,
Connecting,
Downloading,
WritingToDisk,
Verifying,
Complete,
}Expand description
Download phase for progress tracking.
Variants§
WaitingForNetwork
Waiting for network
Connecting
Connecting to server
Downloading
Downloading data
WritingToDisk
Writing to disk
Verifying
Verifying checksum
Complete
Complete
Trait Implementations§
Source§impl Clone for DownloadPhase
impl Clone for DownloadPhase
Source§fn clone(&self) -> DownloadPhase
fn clone(&self) -> DownloadPhase
Returns a copy 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 DownloadPhase
impl Debug for DownloadPhase
Source§impl PartialEq for DownloadPhase
impl PartialEq for DownloadPhase
impl Copy for DownloadPhase
impl Eq for DownloadPhase
impl StructuralPartialEq for DownloadPhase
Auto Trait Implementations§
impl Freeze for DownloadPhase
impl RefUnwindSafe for DownloadPhase
impl Send for DownloadPhase
impl Sync for DownloadPhase
impl Unpin for DownloadPhase
impl UnwindSafe for DownloadPhase
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