pub struct ResolvedPath {
pub path: PathBuf,
pub real_relative: PathBuf,
}Expand description
A path inside a vault, checked against where it lands on disk.
Fields§
§path: PathBufThe path as addressed: the vault root joined with the request, with
. and .. resolved. This is the path to open and to key caches by.
real_relative: PathBufWhere that path really is, relative to the vault root’s real location, once every symlink along it has been followed. Empty for the root.
Trait Implementations§
Source§impl Clone for ResolvedPath
impl Clone for ResolvedPath
Source§impl Debug for ResolvedPath
impl Debug for ResolvedPath
impl Eq for ResolvedPath
Source§impl PartialEq for ResolvedPath
impl PartialEq for ResolvedPath
impl StructuralPartialEq for ResolvedPath
Auto Trait Implementations§
impl Freeze for ResolvedPath
impl RefUnwindSafe for ResolvedPath
impl Send for ResolvedPath
impl Sync for ResolvedPath
impl Unpin for ResolvedPath
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.