pub enum EntryType {
File,
Directory,
}Expand description
Whether an entry is a directory or an ordinary file.
This is closed rather than extensible because Windows decides it with one
attribute bit: an entry either has FILE_ATTRIBUTE_DIRECTORY or it does not.
Anything finer – a reparse point, a device, an offline file – is a property
of the raw attributes, which every entry also carries.
Variants§
Trait Implementations§
impl Copy for EntryType
impl Eq for EntryType
impl StructuralPartialEq for EntryType
Auto Trait Implementations§
impl Freeze for EntryType
impl RefUnwindSafe for EntryType
impl Send for EntryType
impl Sync for EntryType
impl Unpin for EntryType
impl UnsafeUnpin for EntryType
impl UnwindSafe for EntryType
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