Enum alpm_ll::DownloadResult
source · [−]pub enum DownloadResult {
Success,
UpToDate,
Failed,
}
Variants
Success
UpToDate
Failed
Trait Implementations
sourceimpl Clone for DownloadResult
impl Clone for DownloadResult
sourcefn clone(&self) -> DownloadResult
fn clone(&self) -> DownloadResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DownloadResult
impl Debug for DownloadResult
sourceimpl Hash for DownloadResult
impl Hash for DownloadResult
sourceimpl Ord for DownloadResult
impl Ord for DownloadResult
sourcefn cmp(&self, other: &DownloadResult) -> Ordering
fn cmp(&self, other: &DownloadResult) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DownloadResult> for DownloadResult
impl PartialEq<DownloadResult> for DownloadResult
sourcefn eq(&self, other: &DownloadResult) -> bool
fn eq(&self, other: &DownloadResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl PartialOrd<DownloadResult> for DownloadResult
impl PartialOrd<DownloadResult> for DownloadResult
sourcefn partial_cmp(&self, other: &DownloadResult) -> Option<Ordering>
fn partial_cmp(&self, other: &DownloadResult) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for DownloadResult
impl Eq for DownloadResult
impl StructuralEq for DownloadResult
impl StructuralPartialEq for DownloadResult
Auto Trait Implementations
impl RefUnwindSafe for DownloadResult
impl Send for DownloadResult
impl Sync for DownloadResult
impl Unpin for DownloadResult
impl UnwindSafe for DownloadResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more