[][src]Struct monotron_api::DirEntry

#[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,
}

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

impl Debug for DirEntry[src]

impl Clone for DirEntry[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for DirEntry

impl Send for DirEntry

impl Sync for DirEntry

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]