pub enum DirEntry {
File(Vec<u8>),
Directory(Vec<u8>),
}Expand description
Represents a directory entry
Names are represented as Vec<u8> to work on platforms with non-Unicode
filename encodings.
Note that the names in this struct are names only, not full paths.
Variants§
Auto Trait Implementations§
impl Freeze for DirEntry
impl RefUnwindSafe for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnsafeUnpin 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