Enum rust_ipfs::StoragePath 
source · pub enum StoragePath {
    Disk(PathBuf),
    Memory,
}Variants§
Trait Implementations§
source§impl Clone for StoragePath
 
impl Clone for StoragePath
source§fn clone(&self) -> StoragePath
 
fn clone(&self) -> StoragePath
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 StoragePath
 
impl Debug for StoragePath
source§impl Ord for StoragePath
 
impl Ord for StoragePath
source§fn cmp(&self, other: &StoragePath) -> Ordering
 
fn cmp(&self, other: &StoragePath) -> 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<StoragePath> for StoragePath
 
impl PartialEq<StoragePath> for StoragePath
source§fn eq(&self, other: &StoragePath) -> bool
 
fn eq(&self, other: &StoragePath) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd<StoragePath> for StoragePath
 
impl PartialOrd<StoragePath> for StoragePath
source§fn partial_cmp(&self, other: &StoragePath) -> Option<Ordering>
 
fn partial_cmp(&self, other: &StoragePath) -> 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 Eq for StoragePath
impl StructuralEq for StoragePath
impl StructuralPartialEq for StoragePath
Auto Trait Implementations§
impl RefUnwindSafe for StoragePath
impl Send for StoragePath
impl Sync for StoragePath
impl Unpin for StoragePath
impl UnwindSafe for StoragePath
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,
§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
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.