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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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 StructuralEq for Errno

source§

impl StructuralPartialEq for Errno

Auto Trait Implementations§

§

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere T: Clone,

§

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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.