Struct rust_ipfs::p2p::BitswapConfig  
source · pub struct BitswapConfig { /* private fields */ }Trait Implementations§
source§impl Clone for BitswapConfig
 
impl Clone for BitswapConfig
source§fn clone(&self) -> BitswapConfig
 
fn clone(&self) -> BitswapConfig
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 BitswapConfig
 
impl Debug for BitswapConfig
source§impl Default for BitswapConfig
 
impl Default for BitswapConfig
source§impl From<BitswapConfig> for Config
 
impl From<BitswapConfig> for Config
source§fn from(value: BitswapConfig) -> Self
 
fn from(value: BitswapConfig) -> Self
Converts to this type from the input type.
source§impl PartialEq for BitswapConfig
 
impl PartialEq for BitswapConfig
source§fn eq(&self, other: &BitswapConfig) -> bool
 
fn eq(&self, other: &BitswapConfig) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for BitswapConfig
impl StructuralEq for BitswapConfig
impl StructuralPartialEq for BitswapConfig
Auto Trait Implementations§
impl RefUnwindSafe for BitswapConfig
impl Send for BitswapConfig
impl Sync for BitswapConfig
impl Unpin for BitswapConfig
impl UnwindSafe for BitswapConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§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
§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,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.