Enum wnfs_common::PathNodesResult
source · pub enum PathNodesResult<T> {
Complete(PathNodes<T>),
MissingLink(PathNodes<T>, String),
NotADirectory(PathNodes<T>, String),
}
Expand description
The kinds of outcome from getting a PathNodes
.
Variants§
Complete(PathNodes<T>)
The complete path exists.
MissingLink(PathNodes<T>, String)
The path does not exist.
NotADirectory(PathNodes<T>, String)
Encountered a node that is not a directory.
Trait Implementations§
source§impl<T: Clone> Clone for PathNodesResult<T>
impl<T: Clone> Clone for PathNodesResult<T>
source§fn clone(&self) -> PathNodesResult<T>
fn clone(&self) -> PathNodesResult<T>
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<T: Debug> Debug for PathNodesResult<T>
impl<T: Debug> Debug for PathNodesResult<T>
source§impl<T: PartialEq> PartialEq for PathNodesResult<T>
impl<T: PartialEq> PartialEq for PathNodesResult<T>
source§fn eq(&self, other: &PathNodesResult<T>) -> bool
fn eq(&self, other: &PathNodesResult<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Eq> Eq for PathNodesResult<T>
impl<T> StructuralPartialEq for PathNodesResult<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for PathNodesResult<T>where
T: RefUnwindSafe,
impl<T> Send for PathNodesResult<T>
impl<T> Sync for PathNodesResult<T>
impl<T> Unpin for PathNodesResult<T>
impl<T> UnwindSafe for PathNodesResult<T>where
T: RefUnwindSafe,
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