Enum rust_ipfs::p2p::PubsubValidation  
source · pub enum PubsubValidation {
    Strict,
    Permissive,
    Anonymous,
    Relaxed,
}Variants§
Trait Implementations§
source§impl Clone for PubsubValidation
 
impl Clone for PubsubValidation
source§fn clone(&self) -> PubsubValidation
 
fn clone(&self) -> PubsubValidation
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 PubsubValidation
 
impl Debug for PubsubValidation
source§impl From<PubsubValidation> for ValidationMode
 
impl From<PubsubValidation> for ValidationMode
source§fn from(validation: PubsubValidation) -> Self
 
fn from(validation: PubsubValidation) -> Self
Converts to this type from the input type.
source§impl Ord for PubsubValidation
 
impl Ord for PubsubValidation
source§fn cmp(&self, other: &PubsubValidation) -> Ordering
 
fn cmp(&self, other: &PubsubValidation) -> 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 PubsubValidation
 
impl PartialEq for PubsubValidation
source§fn eq(&self, other: &PubsubValidation) -> bool
 
fn eq(&self, other: &PubsubValidation) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for PubsubValidation
 
impl PartialOrd for PubsubValidation
source§fn partial_cmp(&self, other: &PubsubValidation) -> Option<Ordering>
 
fn partial_cmp(&self, other: &PubsubValidation) -> 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 PubsubValidation
impl Eq for PubsubValidation
impl StructuralPartialEq for PubsubValidation
Auto Trait Implementations§
impl Freeze for PubsubValidation
impl RefUnwindSafe for PubsubValidation
impl Send for PubsubValidation
impl Sync for PubsubValidation
impl Unpin for PubsubValidation
impl UnwindSafe for PubsubValidation
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.