[][src]Struct wasihost_core::wasi_snapshot_preview1::PrestatDir

pub struct PrestatDir {
    pub pr_name_len: Size,
}

The contents of a $prestat when type is preopentype::dir.

Fields

pr_name_len: Size

The length of the directory name for use with fd_prestat_dir_name.

Trait Implementations

impl Clone for PrestatDir[src]

impl Copy for PrestatDir[src]

impl Debug for PrestatDir[src]

impl WasiValue for PrestatDir[src]

type NativeType = prestat_dir

The native WASM type.

Auto Trait Implementations

impl RefUnwindSafe for PrestatDir

impl Send for PrestatDir

impl Sync for PrestatDir

impl Unpin for PrestatDir

impl UnwindSafe for PrestatDir

Blanket Implementations

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

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

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

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

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

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

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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.