#[repr(C)]pub struct DirEntry {
pub file_type: FileType,
pub name: [u8; 11],
pub size: u32,
pub mtime: Timestamp,
pub ctime: Timestamp,
pub mode: FileMode,
}
Expand description
Describes a file as it exists on disk.
Fields§
§file_type: FileType
The file of the file this entry represents
name: [u8; 11]
The name of the file (not including its full path)
size: u32
The sie of the file in bytes
mtime: Timestamp
When this file was last modified
ctime: Timestamp
When this file was created
mode: FileMode
The various mode bits set on this file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirEntry
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