#[non_exhaustive]pub enum DirectoryIdentityOperation {
OpenDirectory,
OpenRegularFile,
QueryAttributes,
QueryLinkCount,
QueryMetadata,
CloneHandle,
FlushDirectory,
RemoveRegularFile,
}Expand description
Filesystem operation that failed while capturing an object identity.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OpenDirectory
Open the directory without following its final path component.
OpenRegularFile
Open a regular file without following its final path component.
QueryAttributes
Read directory attributes from the retained handle.
QueryLinkCount
Read regular-file attributes and link count from the retained handle.
QueryMetadata
Read filesystem metadata from the retained descriptor.
CloneHandle
Duplicate a retained filesystem handle or descriptor.
FlushDirectory
Flush retained directory metadata through the exact handle.
RemoveRegularFile
Remove a retained regular file through its exact handle.
Trait Implementations§
Source§impl Clone for DirectoryIdentityOperation
impl Clone for DirectoryIdentityOperation
impl Copy for DirectoryIdentityOperation
Source§impl Debug for DirectoryIdentityOperation
impl Debug for DirectoryIdentityOperation
impl Eq for DirectoryIdentityOperation
impl StructuralPartialEq for DirectoryIdentityOperation
Auto Trait Implementations§
impl Freeze for DirectoryIdentityOperation
impl RefUnwindSafe for DirectoryIdentityOperation
impl Send for DirectoryIdentityOperation
impl Sync for DirectoryIdentityOperation
impl Unpin for DirectoryIdentityOperation
impl UnsafeUnpin for DirectoryIdentityOperation
impl UnwindSafe for DirectoryIdentityOperation
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