pub enum DownloadState {
InProgress,
Completed,
Canceled,
}Expand description
Download progress state.
Variants§
InProgress
Download is in progress.
Completed
Download completed successfully.
Canceled
Download was canceled.
Trait Implementations§
Source§impl Clone for DownloadState
impl Clone for DownloadState
Source§fn clone(&self) -> DownloadState
fn clone(&self) -> DownloadState
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 DownloadState
impl Debug for DownloadState
Source§impl PartialEq for DownloadState
impl PartialEq for DownloadState
impl Copy for DownloadState
impl Eq for DownloadState
impl StructuralPartialEq for DownloadState
Auto Trait Implementations§
impl Freeze for DownloadState
impl RefUnwindSafe for DownloadState
impl Send for DownloadState
impl Sync for DownloadState
impl Unpin for DownloadState
impl UnwindSafe for DownloadState
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,
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.