pub struct DirectoryEntry(/* private fields */);Implementations§
Trait Implementations§
Source§impl Debug for DirectoryEntry
impl Debug for DirectoryEntry
Source§impl DirectoryEntry for DirectoryEntry
impl DirectoryEntry for DirectoryEntry
type PathRef<'s> = &'s OsStr
type OwnedPath = OsString
Source§type EagerMode = FileType
type EagerMode = FileType
This is different from the type used for
Stat::Mode, as POSIX directory entries do not
contain a full stat struct but instead a specific field with its own values to parse.fn name<'e>(&'e self) -> Self::PathRef<'e>
fn owned_name(path: Self::PathRef<'_>) -> Self::OwnedPath
Auto Trait Implementations§
impl Freeze for DirectoryEntry
impl RefUnwindSafe for DirectoryEntry
impl Send for DirectoryEntry
impl Sync for DirectoryEntry
impl Unpin for DirectoryEntry
impl UnwindSafe for DirectoryEntry
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