Enum alpm::FetchResult
source · pub enum FetchResult {
Ok,
Err,
FileExists,
}
Variants§
Trait Implementations§
source§impl Clone for FetchResult
impl Clone for FetchResult
source§fn clone(&self) -> FetchResult
fn clone(&self) -> FetchResult
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 FetchResult
impl Debug for FetchResult
source§impl Hash for FetchResult
impl Hash for FetchResult
source§impl Ord for FetchResult
impl Ord for FetchResult
source§fn cmp(&self, other: &FetchResult) -> Ordering
fn cmp(&self, other: &FetchResult) -> 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 FetchResult
impl PartialEq for FetchResult
source§fn eq(&self, other: &FetchResult) -> bool
fn eq(&self, other: &FetchResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FetchResult
impl PartialOrd for FetchResult
source§fn partial_cmp(&self, other: &FetchResult) -> Option<Ordering>
fn partial_cmp(&self, other: &FetchResult) -> 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 FetchResult
impl Eq for FetchResult
impl StructuralPartialEq for FetchResult
Auto Trait Implementations§
impl Freeze for FetchResult
impl RefUnwindSafe for FetchResult
impl Send for FetchResult
impl Sync for FetchResult
impl Unpin for FetchResult
impl UnwindSafe for FetchResult
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