Enum rust_ipfs::RepoProvider 
source · pub enum RepoProvider {
    None,
    All,
    Pinned,
    Roots,
}Variants§
None
Dont provide any blocks automatically
All
Provide all blocks stored automatically
Pinned
Provide pinned blocks
Roots
Provide root blocks only
Trait Implementations§
source§impl Clone for RepoProvider
 
impl Clone for RepoProvider
source§fn clone(&self) -> RepoProvider
 
fn clone(&self) -> RepoProvider
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 RepoProvider
 
impl Debug for RepoProvider
source§impl Default for RepoProvider
 
impl Default for RepoProvider
source§fn default() -> RepoProvider
 
fn default() -> RepoProvider
Returns the “default value” for a type. Read more
source§impl Hash for RepoProvider
 
impl Hash for RepoProvider
source§impl Ord for RepoProvider
 
impl Ord for RepoProvider
source§fn cmp(&self, other: &RepoProvider) -> Ordering
 
fn cmp(&self, other: &RepoProvider) -> 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 RepoProvider
 
impl PartialEq for RepoProvider
source§fn eq(&self, other: &RepoProvider) -> bool
 
fn eq(&self, other: &RepoProvider) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for RepoProvider
 
impl PartialOrd for RepoProvider
source§fn partial_cmp(&self, other: &RepoProvider) -> Option<Ordering>
 
fn partial_cmp(&self, other: &RepoProvider) -> 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 RepoProvider
impl Eq for RepoProvider
impl StructuralPartialEq for RepoProvider
Auto Trait Implementations§
impl Freeze for RepoProvider
impl RefUnwindSafe for RepoProvider
impl Send for RepoProvider
impl Sync for RepoProvider
impl Unpin for RepoProvider
impl UnwindSafe for RepoProvider
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.