pub(crate) enum PathType {
Final,
Intermediate,
Symlink,
Content,
}Expand description
The type of a single path inspected by Verifier.
Variants§
Final
This is indeed the final canonical path we were trying to resolve.
Intermediate
This is an intermediary canonical path. It should be a directory, but it might not be if the path resolution is about to fail.
Symlink
This is a symbolic link.
Content
This is a file inside the target directory.
Trait Implementations§
impl Copy for PathType
impl Eq for PathType
impl StructuralPartialEq for PathType
Auto Trait Implementations§
impl Freeze for PathType
impl RefUnwindSafe for PathType
impl Send for PathType
impl Sync for PathType
impl Unpin for PathType
impl UnsafeUnpin for PathType
impl UnwindSafe for PathType
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