Enum alpm::DownloadEvent
source · pub enum DownloadEvent {
Init(DownloadEventInit),
Progress(DownloadEventProgress),
Retry(DownloadEventRetry),
Completed(DownloadEventCompleted),
}
Variants§
Init(DownloadEventInit)
Progress(DownloadEventProgress)
Retry(DownloadEventRetry)
Completed(DownloadEventCompleted)
Trait Implementations§
source§impl Clone for DownloadEvent
impl Clone for DownloadEvent
source§fn clone(&self) -> DownloadEvent
fn clone(&self) -> DownloadEvent
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 DownloadEvent
impl Debug for DownloadEvent
source§impl Hash for DownloadEvent
impl Hash for DownloadEvent
source§impl Ord for DownloadEvent
impl Ord for DownloadEvent
source§fn cmp(&self, other: &DownloadEvent) -> Ordering
fn cmp(&self, other: &DownloadEvent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DownloadEvent
impl PartialEq for DownloadEvent
source§fn eq(&self, other: &DownloadEvent) -> bool
fn eq(&self, other: &DownloadEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DownloadEvent
impl PartialOrd for DownloadEvent
source§fn partial_cmp(&self, other: &DownloadEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &DownloadEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DownloadEvent
impl Eq for DownloadEvent
impl StructuralEq for DownloadEvent
impl StructuralPartialEq for DownloadEvent
Auto Trait Implementations§
impl RefUnwindSafe for DownloadEvent
impl Send for DownloadEvent
impl Sync for DownloadEvent
impl Unpin for DownloadEvent
impl UnwindSafe for DownloadEvent
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