pub struct CapturedDirectory {
pub path: RelPath,
pub id: FileId,
pub entries: Vec<Entry>,
pub permissions: Permissions,
}Expand description
A directory’s sorted entries and identity from one verified directory handle.
Retaining this observation lets a later comparison detect added or removed names as well as changes to the files that were originally present.
Fields§
§path: RelPathThe requested logical path, including its source authority.
id: FileIdThe original directory’s host identity.
entries: Vec<Entry>All entries, including links and unsupported special files.
permissions: PermissionsNative directory permissions needed to preserve access semantics.
Trait Implementations§
Source§impl Clone for CapturedDirectory
impl Clone for CapturedDirectory
Source§impl Debug for CapturedDirectory
impl Debug for CapturedDirectory
impl Eq for CapturedDirectory
Source§impl PartialEq for CapturedDirectory
impl PartialEq for CapturedDirectory
impl StructuralPartialEq for CapturedDirectory
Auto Trait Implementations§
impl Forget for CapturedDirectory
impl Freeze for CapturedDirectory
impl Move for CapturedDirectory
impl RefUnwindSafe for CapturedDirectory
impl Send for CapturedDirectory
impl Sync for CapturedDirectory
impl Unpin for CapturedDirectory
impl UnsafeUnpin for CapturedDirectory
impl UnwindSafe for CapturedDirectory
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Whether this borrowed key equals the stored key.
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.impl<T> EvidenceLease for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more