async_wasi::snapshots::common::error

Struct Errno

Source
pub struct Errno(pub Type);

Tuple Fields§

§0: Type

Implementations§

Source§

impl Errno

Source

pub const __WASI_ERRNO_SUCCESS: Errno = _

Source

pub const __WASI_ERRNO_2BIG: Errno = _

Source

pub const __WASI_ERRNO_ACCES: Errno = _

Source

pub const __WASI_ERRNO_ADDRINUSE: Errno = _

Source

pub const __WASI_ERRNO_ADDRNOTAVAIL: Errno = _

Source

pub const __WASI_ERRNO_AFNOSUPPORT: Errno = _

Source

pub const __WASI_ERRNO_AGAIN: Errno = _

Source

pub const __WASI_ERRNO_ALREADY: Errno = _

Source

pub const __WASI_ERRNO_BADF: Errno = _

Source

pub const __WASI_ERRNO_BADMSG: Errno = _

Source

pub const __WASI_ERRNO_BUSY: Errno = _

Source

pub const __WASI_ERRNO_CANCELED: Errno = _

Source

pub const __WASI_ERRNO_CHILD: Errno = _

Source

pub const __WASI_ERRNO_CONNABORTED: Errno = _

Source

pub const __WASI_ERRNO_CONNREFUSED: Errno = _

Source

pub const __WASI_ERRNO_CONNRESET: Errno = _

Source

pub const __WASI_ERRNO_DEADLK: Errno = _

Source

pub const __WASI_ERRNO_DESTADDRREQ: Errno = _

Source

pub const __WASI_ERRNO_DOM: Errno = _

Source

pub const __WASI_ERRNO_DQUOT: Errno = _

Source

pub const __WASI_ERRNO_EXIST: Errno = _

Source

pub const __WASI_ERRNO_FAULT: Errno = _

Source

pub const __WASI_ERRNO_FBIG: Errno = _

Source

pub const __WASI_ERRNO_HOSTUNREACH: Errno = _

Source

pub const __WASI_ERRNO_IDRM: Errno = _

Source

pub const __WASI_ERRNO_ILSEQ: Errno = _

Source

pub const __WASI_ERRNO_INPROGRESS: Errno = _

Source

pub const __WASI_ERRNO_INTR: Errno = _

Source

pub const __WASI_ERRNO_INVAL: Errno = _

Source

pub const __WASI_ERRNO_IO: Errno = _

Source

pub const __WASI_ERRNO_ISCONN: Errno = _

Source

pub const __WASI_ERRNO_ISDIR: Errno = _

Source

pub const __WASI_ERRNO_LOOP: Errno = _

Source

pub const __WASI_ERRNO_MFILE: Errno = _

Source

pub const __WASI_ERRNO_MSGSIZE: Errno = _

Source

pub const __WASI_ERRNO_MULTIHOP: Errno = _

Source

pub const __WASI_ERRNO_NAMETOOLONG: Errno = _

Source

pub const __WASI_ERRNO_NETDOWN: Errno = _

Source

pub const __WASI_ERRNO_NETRESET: Errno = _

Source

pub const __WASI_ERRNO_NETUNREACH: Errno = _

Source

pub const __WASI_ERRNO_NFILE: Errno = _

Source

pub const __WASI_ERRNO_NOBUFS: Errno = _

Source

pub const __WASI_ERRNO_NODEV: Errno = _

Source

pub const __WASI_ERRNO_NOENT: Errno = _

Source

pub const __WASI_ERRNO_NOEXEC: Errno = _

Source

pub const __WASI_ERRNO_NOLCK: Errno = _

Source

pub const __WASI_ERRNO_NOMEM: Errno = _

Source

pub const __WASI_ERRNO_NOMSG: Errno = _

Source

pub const __WASI_ERRNO_NOPROTOOPT: Errno = _

Source

pub const __WASI_ERRNO_NOSPC: Errno = _

Source

pub const __WASI_ERRNO_NOSYS: Errno = _

Source

pub const __WASI_ERRNO_NOTCONN: Errno = _

Source

pub const __WASI_ERRNO_NOTDIR: Errno = _

Source

pub const __WASI_ERRNO_NOTEMPTY: Errno = _

Source

pub const __WASI_ERRNO_NOTRECOVERABLE: Errno = _

Source

pub const __WASI_ERRNO_NOTSOCK: Errno = _

Source

pub const __WASI_ERRNO_NOTSUP: Errno = _

Source

pub const __WASI_ERRNO_NOTTY: Errno = _

Source

pub const __WASI_ERRNO_NXIO: Errno = _

Source

pub const __WASI_ERRNO_OVERFLOW: Errno = _

Source

pub const __WASI_ERRNO_OWNERDEAD: Errno = _

Source

pub const __WASI_ERRNO_PERM: Errno = _

Source

pub const __WASI_ERRNO_PIPE: Errno = _

Source

pub const __WASI_ERRNO_PROTO: Errno = _

Source

pub const __WASI_ERRNO_PROTONOSUPPORT: Errno = _

Source

pub const __WASI_ERRNO_PROTOTYPE: Errno = _

Source

pub const __WASI_ERRNO_RANGE: Errno = _

Source

pub const __WASI_ERRNO_ROFS: Errno = _

Source

pub const __WASI_ERRNO_SPIPE: Errno = _

Source

pub const __WASI_ERRNO_SRCH: Errno = _

Source

pub const __WASI_ERRNO_STALE: Errno = _

Source

pub const __WASI_ERRNO_TIMEDOUT: Errno = _

Source

pub const __WASI_ERRNO_TXTBSY: Errno = _

Source

pub const __WASI_ERRNO_XDEV: Errno = _

Source

pub const __WASI_ERRNO_NOTCAPABLE: Errno = _

Source

pub const __WASI_ERRNO_AIADDRFAMILY: Errno = _

Source

pub const __WASI_ERRNO_AIAGAIN: Errno = _

Source

pub const __WASI_ERRNO_AIBADFLAG: Errno = _

Source

pub const __WASI_ERRNO_AIFAIL: Errno = _

Source

pub const __WASI_ERRNO_AIFAMILY: Errno = _

Source

pub const __WASI_ERRNO_AIMEMORY: Errno = _

Source

pub const __WASI_ERRNO_AINODATA: Errno = _

Source

pub const __WASI_ERRNO_AINONAME: Errno = _

Source

pub const __WASI_ERRNO_AISERVICE: Errno = _

Source

pub const __WASI_ERRNO_AISOCKTYPE: Errno = _

Source

pub const __WASI_ERRNO_AISYSTEM: Errno = _

Trait Implementations§

Source§

impl Clone for Errno

Source§

fn clone(&self) -> Errno

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Errno

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Errno

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl From<&Error> for Errno

Source§

fn from(e: &Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Errno

Source§

fn from(e: Error) -> Self

Converts to this type from the input type.
Source§

impl From<ErrorKind> for Errno

Source§

fn from(e: ErrorKind) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Errno

Source§

fn from(e: Type) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Errno

Source§

fn eq(&self, other: &Errno) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Errno

Source§

impl Eq for Errno

Source§

impl StructuralPartialEq for Errno

Auto Trait Implementations§

§

impl Freeze for Errno

§

impl RefUnwindSafe for Errno

§

impl Send for Errno

§

impl Sync for Errno

§

impl Unpin for Errno

§

impl UnwindSafe for Errno

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.