[][src]Enum wasi_common::wasi::types::Filetype

#[repr(u8)]pub enum Filetype {
    Unknown,
    BlockDevice,
    CharacterDevice,
    Directory,
    RegularFile,
    SocketDgram,
    SocketStream,
    SymbolicLink,
}

Variants

Unknown
BlockDevice
CharacterDevice
Directory
RegularFile
SocketDgram
SocketStream

Trait Implementations

impl Clone for Filetype[src]

impl Copy for Filetype[src]

impl Debug for Filetype[src]

impl Display for Filetype[src]

impl Eq for Filetype[src]

impl From<FileType> for Filetype[src]

impl From<FileType> for Filetype[src]

impl From<Filetype> for u8[src]

impl From<Filetype> for i32[src]

impl<'a> GuestType<'a> for Filetype[src]

impl<'a> GuestTypeTransparent<'a> for Filetype[src]

impl Hash for Filetype[src]

impl PartialEq<Filetype> for Filetype[src]

impl StructuralEq for Filetype[src]

impl StructuralPartialEq for Filetype[src]

impl TryFrom<i32> for Filetype[src]

type Error = GuestError

The type returned in the event of a conversion error.

impl TryFrom<u8> for Filetype[src]

type Error = GuestError

The type returned in the event of a conversion error.

Auto Trait Implementations

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> Instrument for T[src]

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

impl<T> Pointee for T[src]

type Pointer = u32

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.