enum Landed {
Walked(PathBuf),
Collapsed(PathBuf),
}Expand description
What a requested path resolved to under root.
Variants§
Walked(PathBuf)
The path the read may open: canonical (every symlink in it
resolved), or the spelled path itself when only its tail is
missing - a .. over a component that does not exist, say - so
metadata on it can only report the miss.
Collapsed(PathBuf)
A spell the filesystem would not resolve, collapsed LEXICALLY
into a DIFFERENT path. The rewrite can pop a .. over a
component that does not exist and expose a later symlink, so this
path may exist, and may leave every root once its symlinks
resolve. It is judged for the refusal’s classification only, and
never opened.
Auto Trait Implementations§
impl Freeze for Landed
impl RefUnwindSafe for Landed
impl Send for Landed
impl Sync for Landed
impl Unpin for Landed
impl UnsafeUnpin for Landed
impl UnwindSafe for Landed
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