[][src]Struct wasi_types::DirEnt

#[repr(C)]
pub struct DirEnt {
    pub next: DirCookie,
    pub inode: Inode,
    pub name_len: u32,
    pub file_type: FileType,
}

A directory entry.

Fields

next: DirCookie

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

inode: Inode

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

name_len: u32

The length of the name of the directory entry.

file_type: FileType

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

Trait Implementations

impl Eq for DirEnt[src]

impl Clone for DirEnt[src]

impl PartialEq<DirEnt> for DirEnt[src]

impl Copy for DirEnt[src]

Auto Trait Implementations

impl Send for DirEnt

impl Unpin for DirEnt

impl Sync for DirEnt

impl UnwindSafe for DirEnt

impl RefUnwindSafe for DirEnt

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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