pub enum EntryMode {
FILE,
DIR,
Unknown,
}
Expand description
EntryMode represents the mode.
Variants§
FILE
FILE means the path has data to read.
DIR
DIR means the path can be listed.
Unknown
Unknown means we don’t know what we can do on this path.
Implementations§
Trait Implementations§
source§impl PartialEq<EntryMode> for EntryMode
impl PartialEq<EntryMode> for EntryMode
impl Copy for EntryMode
impl Eq for EntryMode
impl StructuralEq for EntryMode
impl StructuralPartialEq for EntryMode
Auto Trait Implementations§
impl RefUnwindSafe for EntryMode
impl Send for EntryMode
impl Sync for EntryMode
impl Unpin for EntryMode
impl UnwindSafe for EntryMode
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.