pub enum DirEntry<'volume> {
Dir(Directory<'volume>),
File(FileEntry),
}
Expand description
An item in a volume.
Variants§
Implementations§
Trait Implementations§
source§impl<'volume> PartialEq<DirEntry<'volume>> for DirEntry<'volume>
impl<'volume> PartialEq<DirEntry<'volume>> for DirEntry<'volume>
impl<'volume> Eq for DirEntry<'volume>
impl<'volume> StructuralEq for DirEntry<'volume>
impl<'volume> StructuralPartialEq for DirEntry<'volume>
Auto Trait Implementations§
impl<'volume> RefUnwindSafe for DirEntry<'volume>
impl<'volume> Send for DirEntry<'volume>
impl<'volume> Sync for DirEntry<'volume>
impl<'volume> Unpin for DirEntry<'volume>
impl<'volume> UnwindSafe for DirEntry<'volume>
Blanket Implementations§
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.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.