Enum rust_ipfs::p2p::UpgradeVersion  
source · pub enum UpgradeVersion {
    Standard,
    Lazy,
}Variants§
Trait Implementations§
source§impl Clone for UpgradeVersion
 
impl Clone for UpgradeVersion
source§fn clone(&self) -> UpgradeVersion
 
fn clone(&self) -> UpgradeVersion
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 UpgradeVersion
 
impl Debug for UpgradeVersion
source§impl Default for UpgradeVersion
 
impl Default for UpgradeVersion
source§fn default() -> UpgradeVersion
 
fn default() -> UpgradeVersion
Returns the “default value” for a type. Read more
source§impl From<UpgradeVersion> for Version
 
impl From<UpgradeVersion> for Version
source§fn from(value: UpgradeVersion) -> Self
 
fn from(value: UpgradeVersion) -> Self
Converts to this type from the input type.
source§impl Hash for UpgradeVersion
 
impl Hash for UpgradeVersion
source§impl Ord for UpgradeVersion
 
impl Ord for UpgradeVersion
source§fn cmp(&self, other: &UpgradeVersion) -> Ordering
 
fn cmp(&self, other: &UpgradeVersion) -> 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 UpgradeVersion
 
impl PartialEq for UpgradeVersion
source§fn eq(&self, other: &UpgradeVersion) -> bool
 
fn eq(&self, other: &UpgradeVersion) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for UpgradeVersion
 
impl PartialOrd for UpgradeVersion
source§fn partial_cmp(&self, other: &UpgradeVersion) -> Option<Ordering>
 
fn partial_cmp(&self, other: &UpgradeVersion) -> 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 UpgradeVersion
impl Eq for UpgradeVersion
impl StructuralPartialEq for UpgradeVersion
Auto Trait Implementations§
impl Freeze for UpgradeVersion
impl RefUnwindSafe for UpgradeVersion
impl Send for UpgradeVersion
impl Sync for UpgradeVersion
impl Unpin for UpgradeVersion
impl UnwindSafe for UpgradeVersion
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
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> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.