pub enum DirEntry {
Directory(Inode),
File(Inode),
Server(Inode),
Process(Inode),
}
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for DirEntry
impl<'de> Deserialize<'de> for DirEntry
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'_enum> From<&'_enum DirEntry> for DirEntryKind
impl<'_enum> From<&'_enum DirEntry> for DirEntryKind
source§fn from(val: &'_enum DirEntry) -> DirEntryKind
fn from(val: &'_enum DirEntry) -> DirEntryKind
Converts to this type from the input type.
source§impl From<DirEntry> for DirEntryKind
impl From<DirEntry> for DirEntryKind
source§fn from(val: DirEntry) -> DirEntryKind
fn from(val: DirEntry) -> DirEntryKind
Converts to this type from the input type.
source§impl PartialEq<DirEntry> for DirEntry
impl PartialEq<DirEntry> for DirEntry
impl StructuralPartialEq for DirEntry
Auto Trait Implementations§
impl RefUnwindSafe for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnwindSafe for DirEntry
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