Enum wasi_common::ErrorKind
source · [−]pub enum ErrorKind {
Show 16 variants
WouldBlk,
Noent,
TooBig,
Badf,
Exist,
Ilseq,
Inval,
Io,
Nametoolong,
Notdir,
Notsup,
Overflow,
Range,
Spipe,
Perm,
NotCapable,
}
Expand description
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
WouldBlk
Errno::WouldBlk: Would block
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
Perm
Errno::Perm: Permission denied
NotCapable
Errno::NotCapable: Not capable