pub enum DirectoryEntryKind {
File,
Directory,
Symlink,
Other,
}Expand description
The kind of an asynchronously inspected directory entry.
Variants§
File
A regular file.
Directory
A directory.
Symlink
A symbolic link.
Other
Another filesystem entry kind.
Trait Implementations§
Source§impl Clone for DirectoryEntryKind
impl Clone for DirectoryEntryKind
Source§fn clone(&self) -> DirectoryEntryKind
fn clone(&self) -> DirectoryEntryKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DirectoryEntryKind
Source§impl Debug for DirectoryEntryKind
impl Debug for DirectoryEntryKind
impl Eq for DirectoryEntryKind
Source§impl PartialEq for DirectoryEntryKind
impl PartialEq for DirectoryEntryKind
impl StructuralPartialEq for DirectoryEntryKind
Auto Trait Implementations§
impl Freeze for DirectoryEntryKind
impl RefUnwindSafe for DirectoryEntryKind
impl Send for DirectoryEntryKind
impl Sync for DirectoryEntryKind
impl Unpin for DirectoryEntryKind
impl UnsafeUnpin for DirectoryEntryKind
impl UnwindSafe for DirectoryEntryKind
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