Enum alpm::DownloadEventType
source · #[repr(u32)]pub enum DownloadEventType {
Init = 0,
Retry = 2,
Progress = 1,
Completed = 3,
}
Variants§
Trait Implementations§
source§impl Clone for DownloadEventType
impl Clone for DownloadEventType
source§fn clone(&self) -> DownloadEventType
fn clone(&self) -> DownloadEventType
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 DownloadEventType
impl Debug for DownloadEventType
source§impl Hash for DownloadEventType
impl Hash for DownloadEventType
source§impl Ord for DownloadEventType
impl Ord for DownloadEventType
source§fn cmp(&self, other: &DownloadEventType) -> Ordering
fn cmp(&self, other: &DownloadEventType) -> 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 DownloadEventType
impl PartialEq for DownloadEventType
source§fn eq(&self, other: &DownloadEventType) -> bool
fn eq(&self, other: &DownloadEventType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DownloadEventType
impl PartialOrd for DownloadEventType
source§fn partial_cmp(&self, other: &DownloadEventType) -> Option<Ordering>
fn partial_cmp(&self, other: &DownloadEventType) -> 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 DownloadEventType
impl Eq for DownloadEventType
impl StructuralPartialEq for DownloadEventType
Auto Trait Implementations§
impl RefUnwindSafe for DownloadEventType
impl Send for DownloadEventType
impl Sync for DownloadEventType
impl Unpin for DownloadEventType
impl UnwindSafe for DownloadEventType
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