Errno

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 duplicate 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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.