Enum lunatic_runtime::api::wasi::types::Filetype[][src]

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

Variants

Unknown

The type of the file descriptor or file is unknown or is different from any of the other types specified.

BlockDevice

The file descriptor or file refers to a block device inode.

CharacterDevice

The file descriptor or file refers to a character device inode.

Directory

The file descriptor or file refers to a directory inode.

RegularFile

The file descriptor or file refers to a regular file inode.

SocketDgram

The file descriptor or file refers to a datagram socket.

SocketStream

The file descriptor or file refers to a byte-stream socket.

The file refers to a symbolic link inode.

Trait Implementations

impl CReprWasmType for Filetype[src]

impl Clone for Filetype[src]

impl Copy for Filetype[src]

impl Debug for Filetype[src]

impl From<FileType> for Filetype[src]

impl FromWasm for Filetype[src]

type From = u32

type State = ()

impl ToWasm for Filetype[src]

type To = u32

type State = ()

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,