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>
impl<T: Eq> Eq for PathNodesResult<T>
impl<T> StructuralPartialEq for PathNodesResult<T>
Auto Trait Implementations§
impl<T> Freeze for PathNodesResult<T>
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