pub enum EntryKind {
Dir,
File,
Symlink,
}Expand description
What a directory entry is, determined without following symlinks — a symlink
reports as EntryKind::Symlink whatever it points at (ADR-0005 §6).
Variants§
Implementations§
Trait Implementations§
impl Copy for EntryKind
impl Eq for EntryKind
Source§impl Ord for EntryKind
impl Ord for EntryKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for EntryKind
impl PartialOrd for EntryKind
impl StructuralPartialEq for EntryKind
Auto Trait Implementations§
impl Freeze for EntryKind
impl RefUnwindSafe for EntryKind
impl Send for EntryKind
impl Sync for EntryKind
impl Unpin for EntryKind
impl UnsafeUnpin for EntryKind
impl UnwindSafe for EntryKind
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