#[repr(u32)]pub enum DownloadPhase {
Created = 0,
Running = 1,
Paused = 2,
Cancelled = 3,
Completed = 4,
Failed = 5,
Pausing = 6,
Cancelling = 7,
}Variants§
Created = 0
Running = 1
Paused = 2
Cancelled = 3
Completed = 4
Failed = 5
Pausing = 6
Cancelling = 7
Trait Implementations§
Source§impl Clone for DownloadPhase
impl Clone for DownloadPhase
Source§fn clone(&self) -> DownloadPhase
fn clone(&self) -> DownloadPhase
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 moreimpl Copy for DownloadPhase
Source§impl Debug for DownloadPhase
impl Debug for DownloadPhase
impl Eq for DownloadPhase
Source§impl PartialEq for DownloadPhase
impl PartialEq for DownloadPhase
Source§fn eq(&self, other: &DownloadPhase) -> bool
fn eq(&self, other: &DownloadPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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