#[non_exhaustive]pub enum PosixErrno {
Show 57 variants
E2BIG,
EACCES,
EADDRINUSE,
EADDRNOTAVAIL,
EAFNOSUPPORT,
EAGAIN,
EALREADY,
EBADF,
EBUSY,
ECHILD,
ECONNABORTED,
ECONNREFUSED,
ECONNRESET,
EDEADLK,
EDESTADDRREQ,
EEXIST,
EFBIG,
EHOSTUNREACH,
EINPROGRESS,
EINTR,
EINVAL,
EIO,
EISCONN,
EISDIR,
ELOOP,
EMFILE,
EMSGSIZE,
ENAMETOOLONG,
ENETDOWN,
ENETUNREACH,
ENFILE,
ENOBUFS,
ENODATA,
ENODEV,
ENOENT,
ENOEXEC,
ENOMEM,
ENOSPC,
ENOSYS,
ENOTCONN,
ENOTDIR,
ENOTEMPTY,
ENOTSOCK,
ENOTSUP,
ENOTTY,
EOPNOTSUPP,
EOVERFLOW,
EPERM,
EPIPE,
EPROTO,
EPROTONOSUPPORT,
EROFS,
ESPIPE,
ESRCH,
ESTALE,
ETIMEDOUT,
EXDEV,
}Expand description
POSIX-style errno names, including common extensions. The variants carry no target errno numbers.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
E2BIG
EACCES
EADDRINUSE
EADDRNOTAVAIL
EAFNOSUPPORT
EAGAIN
EALREADY
EBADF
EBUSY
ECHILD
ECONNABORTED
ECONNREFUSED
ECONNRESET
EDEADLK
EDESTADDRREQ
EEXIST
EFBIG
EHOSTUNREACH
EINPROGRESS
EINTR
EINVAL
EIO
EISCONN
EISDIR
ELOOP
EMFILE
EMSGSIZE
ENAMETOOLONG
ENETDOWN
ENETUNREACH
ENFILE
ENOBUFS
ENODATA
ENODEV
ENOENT
ENOEXEC
ENOMEM
ENOSPC
ENOSYS
ENOTCONN
ENOTDIR
ENOTEMPTY
ENOTSOCK
ENOTSUP
ENOTTY
EOPNOTSUPP
EOVERFLOW
EPERM
EPIPE
EPROTO
EPROTONOSUPPORT
EROFS
ESPIPE
ESRCH
ESTALE
ETIMEDOUT
EXDEV
Trait Implementations§
Source§impl Clone for PosixErrno
impl Clone for PosixErrno
Source§fn clone(&self) -> PosixErrno
fn clone(&self) -> PosixErrno
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PosixErrno
impl Debug for PosixErrno
Source§impl PartialEq for PosixErrno
impl PartialEq for PosixErrno
Source§fn eq(&self, other: &PosixErrno) -> bool
fn eq(&self, other: &PosixErrno) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PosixErrno
impl Eq for PosixErrno
impl StructuralPartialEq for PosixErrno
Auto Trait Implementations§
impl Freeze for PosixErrno
impl RefUnwindSafe for PosixErrno
impl Send for PosixErrno
impl Sync for PosixErrno
impl Unpin for PosixErrno
impl UnsafeUnpin for PosixErrno
impl UnwindSafe for PosixErrno
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more