Enum oma_fetch::DownloadSourceType
source · pub enum DownloadSourceType {
Http,
Local,
}Variants§
Trait Implementations§
source§impl Clone for DownloadSourceType
impl Clone for DownloadSourceType
source§fn clone(&self) -> DownloadSourceType
fn clone(&self) -> DownloadSourceType
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 DownloadSourceType
impl Debug for DownloadSourceType
source§impl Ord for DownloadSourceType
impl Ord for DownloadSourceType
source§impl PartialEq<DownloadSourceType> for DownloadSourceType
impl PartialEq<DownloadSourceType> for DownloadSourceType
source§fn eq(&self, other: &DownloadSourceType) -> bool
fn eq(&self, other: &DownloadSourceType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<DownloadSourceType> for DownloadSourceType
impl PartialOrd<DownloadSourceType> for DownloadSourceType
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 Eq for DownloadSourceType
impl StructuralEq for DownloadSourceType
impl StructuralPartialEq for DownloadSourceType
Auto Trait Implementations§
impl RefUnwindSafe for DownloadSourceType
impl Send for DownloadSourceType
impl Sync for DownloadSourceType
impl Unpin for DownloadSourceType
impl UnwindSafe for DownloadSourceType
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.