Enum wasi_common::ErrorKind [−][src]
pub enum ErrorKind {
Show variants
Noent,
TooBig,
Badf,
Exist,
Ilseq,
Inval,
Io,
Nametoolong,
Notdir,
Notsup,
Overflow,
Range,
Spipe,
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
Errno::Noent: No such file or directory
Errno::TooBig: Argument list too long
Errno::Badf: Bad file descriptor
Errno::Exist: File exists
Errno::Ilseq: Illegal byte sequence
Errno::Inval: Invalid argument
Errno::Io: I/O error
Errno::Nametoolong: Filename too long
Errno::Notdir: Not a directory or a symbolic link to a directory.
Errno::Notsup: Not supported, or operation not supported on socket.
Errno::Overflow: Value too large to be stored in data type.
Errno::Range: Result too large
Errno::Spipe: Invalid seek
Errno::NotCapable: Not capable
Trait Implementations
impl Error for ErrorKind[src]
impl Error for ErrorKind[src]fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str1.0.0[src]
fn description(&self) -> &str1.0.0[src]use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,