#[repr(C)]
pub struct vfs_dirent_t { pub d_ino: ino_t, pub d_name: [c_char; 32], }
Expand description

@brief User facing directory entry

Used to hold the output from readdir

@note size, modification time, and other information is part of the file status, not the directory entry.

Fields

d_ino: ino_t

< file serial number, unique for the file system (“inode” in Linux)

d_name: [c_char; 32]

< file name, relative to its containing directory

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.