pub enum ResolvedPath {
PathWithStorages {
path_within_storage: PathBuf,
storage: Storage,
},
VirtualPath(PathBuf),
}
Expand description
Represents result of a possible path within a Storage. Storages field represents all alternative locations of the path.
Variants§
PathWithStorages
Fields
VirtualPath(PathBuf)
Represents virtual node path that are not supposed to be looked up for in any backend. Contains absolute path in forest namespace.
Trait Implementations§
source§impl Clone for ResolvedPath
impl Clone for ResolvedPath
source§fn clone(&self) -> ResolvedPath
fn clone(&self) -> ResolvedPath
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 ResolvedPath
impl Debug for ResolvedPath
source§impl Hash for ResolvedPath
impl Hash for ResolvedPath
source§impl PartialEq<ResolvedPath> for ResolvedPath
impl PartialEq<ResolvedPath> for ResolvedPath
source§fn eq(&self, other: &ResolvedPath) -> bool
fn eq(&self, other: &ResolvedPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ResolvedPath
impl StructuralEq for ResolvedPath
impl StructuralPartialEq for ResolvedPath
Auto Trait Implementations§
impl RefUnwindSafe for ResolvedPath
impl Send for ResolvedPath
impl Sync for ResolvedPath
impl Unpin for ResolvedPath
impl UnwindSafe for ResolvedPath
Blanket Implementations§
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.