Enum wasi_common::ErrorKind[][src]

pub enum ErrorKind {
    Noent,
    TooBig,
    Badf,
    Exist,
    Ilseq,
    Inval,
    Io,
    Nametoolong,
    Notdir,
    Notsup,
    Overflow,
    Range,
    Spipe,
    NotCapable,
}

Internal error type for the wasi-common crate. Contains variants of the WASI $errno type are added according to what is actually used internally by the crate. Not all values are represented presently.

Variants

Noent

Errno::Noent: No such file or directory

TooBig

Errno::TooBig: Argument list too long

Badf

Errno::Badf: Bad file descriptor

Exist

Errno::Exist: File exists

Ilseq

Errno::Ilseq: Illegal byte sequence

Inval

Errno::Inval: Invalid argument

Io

Errno::Io: I/O error

Nametoolong

Errno::Nametoolong: Filename too long

Notdir

Errno::Notdir: Not a directory or a symbolic link to a directory.

Notsup

Errno::Notsup: Not supported, or operation not supported on socket.

Overflow

Errno::Overflow: Value too large to be stored in data type.

Range

Errno::Range: Result too large

Spipe

Errno::Spipe: Invalid seek

NotCapable

Errno::NotCapable: Not capable

Trait Implementations

impl Debug for ErrorKind[src]

impl Display for ErrorKind[src]

impl Error for ErrorKind[src]

impl From<ErrorKind> for Errno[src]

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> 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.

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