Struct wasi::Dirent

source · []
#[repr(C)]
pub struct Dirent { pub d_next: Dircookie, pub d_ino: Inode, pub d_namlen: Dirnamlen, pub d_type: Filetype, }

Fields

d_next: Dircookie

The offset of the next directory entry stored in this directory.

d_ino: Inode

The serial number of the file referred to by this directory entry.

d_namlen: Dirnamlen

The length of the name of the directory entry.

d_type: Filetype

The type of the file referred to by this directory entry.

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

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.