[][src]Struct unix::Error

#[repr(transparent)]pub struct Error(pub NonZeroUsize);

System error

Implementations

impl Error[src]

pub fn message(self) -> &'static str[src]

Return the message for the error.

impl Error[src]

pub const EMULTIHOP: Self[src]

Multihop attempted

pub const EUNATCH: Self[src]

Protocol driver not attached

pub const EAFNOSUPPORT: Self[src]

Address family not supported by protocol

pub const EREMCHG: Self[src]

Remote address changed

pub const EACCES: Self[src]

Permission denied

pub const EDESTADDRREQ: Self[src]

Destination address required

pub const EILSEQ: Self[src]

Invalid or incomplete multibyte or wide character

pub const ESPIPE: Self[src]

Illegal seek

Too many links

pub const EOWNERDEAD: Self[src]

Owner died

pub const ENOTTY: Self[src]

Inappropriate ioctl for device

pub const EBADE: Self[src]

Invalid exchange

pub const EBADF: Self[src]

Bad file descriptor

pub const EBADR: Self[src]

Invalid request descriptor

pub const EADV: Self[src]

Advertise error

pub const ERANGE: Self[src]

Numerical result out of range

pub const ECANCELED: Self[src]

Operation canceled

pub const ETXTBSY: Self[src]

Text file busy

pub const ENOMEM: Self[src]

Cannot allocate memory

pub const EINPROGRESS: Self[src]

Operation now in progress

pub const ENOTBLK: Self[src]

Block device required

pub const EPROTOTYPE: Self[src]

Protocol wrong type for socket

pub const ERESTART: Self[src]

Interrupted system call should be restarted

pub const EISNAM: Self[src]

Is a named type file

pub const ENOMSG: Self[src]

No message of desired type

pub const EALREADY: Self[src]

Operation already in progress

pub const ETIMEDOUT: Self[src]

Connection timed out

pub const ENODATA: Self[src]

No data available

pub const EINTR: Self[src]

Interrupted system call

Link has been severed

pub const EPERM: Self[src]

Operation not permitted

pub const ELOOP: Self[src]

Too many levels of symbolic links

pub const ENETDOWN: Self[src]

Network is down

pub const ESTALE: Self[src]

Stale file handle

pub const ENOSR: Self[src]

Out of streams resources

pub const ELNRNG: Self[src]

Link number out of range

pub const EPIPE: Self[src]

Broken pipe

pub const ECHILD: Self[src]

No child processes

pub const EBADMSG: Self[src]

Bad message

pub const EBFONT: Self[src]

Bad font file format

pub const EREMOTE: Self[src]

Object is remote

pub const ETOOMANYREFS: Self[src]

Too many references: cannot splice

pub const ENONET: Self[src]

Machine is not on the network

pub const EXFULL: Self[src]

Exchange full

pub const ENOTEMPTY: Self[src]

Directory not empty

pub const ENOTNAM: Self[src]

Not a XENIX named type file

pub const EKEYREJECTED: Self[src]

Key was rejected by service

pub const ENOCSI: Self[src]

No CSI structure available

pub const EADDRINUSE: Self[src]

Address already in use

pub const ENETRESET: Self[src]

Network dropped connection on reset

pub const EISDIR: Self[src]

Is a directory

pub const EIDRM: Self[src]

Identifier removed

pub const ENOTSOCK: Self[src]

Socket operation on non-socket

pub const EHOSTUNREACH: Self[src]

No route to host

pub const EBADFD: Self[src]

File descriptor in bad state

pub const EL3HLT: Self[src]

Level 3 halted

pub const EL2HLT: Self[src]

Level 2 halted

pub const ENOKEY: Self[src]

Required key not available

pub const EINVAL: Self[src]

Invalid argument

pub const ESHUTDOWN: Self[src]

Cannot send after transport endpoint shutdown

pub const ENOMEDIUM: Self[src]

No medium found

pub const ELIBSCN: Self[src]

.lib section in a.out corrupted

pub const ENAVAIL: Self[src]

No XENIX semaphores available

pub const EOVERFLOW: Self[src]

Value too large for defined data type

pub const EUCLEAN: Self[src]

Structure needs cleaning

pub const EBUSY: Self[src]

Device or resource busy

pub const EPROTO: Self[src]

Protocol error

pub const ENODEV: Self[src]

No such device

pub const EKEYEXPIRED: Self[src]

Key has expired

pub const EROFS: Self[src]

Read-only file system

pub const ELIBACC: Self[src]

Can not access a needed shared library

pub const EHWPOISON: Self[src]

Memory page has hardware error

pub const E2BIG: Self[src]

Argument list too long

pub const EDEADLK: Self[src]

Resource deadlock avoided

pub const EL3RST: Self[src]

Level 3 reset

pub const ENOTDIR: Self[src]

Not a directory

pub const ECONNRESET: Self[src]

Connection reset by peer

pub const ENXIO: Self[src]

No such device or address

pub const EBADRQC: Self[src]

Invalid request code

pub const ENOSTR: Self[src]

Device not a stream

pub const ENAMETOOLONG: Self[src]

File name too long

pub const ESOCKTNOSUPPORT: Self[src]

Socket type not supported

pub const ELIBEXEC: Self[src]

Cannot exec a shared library directly

pub const EDOTDOT: Self[src]

RFS specific error

pub const EADDRNOTAVAIL: Self[src]

Cannot assign requested address

pub const ETIME: Self[src]

Timer expired

pub const EPROTONOSUPPORT: Self[src]

Protocol not supported

pub const ENOTRECOVERABLE: Self[src]

State not recoverable

pub const EIO: Self[src]

Input/output error

pub const ENETUNREACH: Self[src]

Network is unreachable

pub const EXDEV: Self[src]

Invalid cross-device link

pub const EDQUOT: Self[src]

Disk quota exceeded

pub const EREMOTEIO: Self[src]

Remote I/O error

pub const ENOSPC: Self[src]

No space left on device

pub const ENOEXEC: Self[src]

Exec format error

pub const EMSGSIZE: Self[src]

Message too long

pub const EDOM: Self[src]

Numerical argument out of domain

pub const EFBIG: Self[src]

File too large

pub const ESRCH: Self[src]

No such process

pub const ECHRNG: Self[src]

Channel number out of range

pub const EHOSTDOWN: Self[src]

Host is down

pub const ENOLCK: Self[src]

No locks available

pub const ENFILE: Self[src]

Too many open files in system

pub const ENOSYS: Self[src]

Function not implemented

pub const ENOTCONN: Self[src]

Transport endpoint is not connected

pub const EPFNOSUPPORT: Self[src]

Protocol family not supported

pub const ENOTSUP: Self[src]

Alias for EOPNOTSUPP

pub const ESRMNT: Self[src]

Srmount error

pub const EDEADLOCK: Self[src]

Alias for EDEADLK

pub const ECONNABORTED: Self[src]

Software caused connection abort

pub const ENOANO: Self[src]

No anode

pub const EISCONN: Self[src]

Transport endpoint is already connected

pub const EUSERS: Self[src]

Too many users

pub const ENOPROTOOPT: Self[src]

Protocol not available

pub const ECOMM: Self[src]

Communication error on send

pub const EMFILE: Self[src]

Too many open files

pub const ERFKILL: Self[src]

Operation not possible due to RF-kill

pub const ENOBUFS: Self[src]

No buffer space available

pub const EFAULT: Self[src]

Bad address

pub const EWOULDBLOCK: Self[src]

Alias for EAGAIN

pub const ELIBBAD: Self[src]

Accessing a corrupted shared library

pub const ESTRPIPE: Self[src]

Streams pipe error

pub const ECONNREFUSED: Self[src]

Connection refused

pub const EAGAIN: Self[src]

Resource temporarily unavailable

pub const ELIBMAX: Self[src]

Attempting to link in too many shared libraries

pub const EEXIST: Self[src]

File exists

pub const EL2NSYNC: Self[src]

Level 2 not synchronized

pub const ENOENT: Self[src]

No such file or directory

pub const ENOPKG: Self[src]

Package not installed

pub const EBADSLT: Self[src]

Invalid slot

pub const EKEYREVOKED: Self[src]

Key has been revoked

pub const ENOTUNIQ: Self[src]

Name not unique on network

pub const EOPNOTSUPP: Self[src]

Operation not supported

pub const EMEDIUMTYPE: Self[src]

Wrong medium type

Trait Implementations

impl Clone for Error[src]

impl Copy for Error[src]

impl Debug for Error[src]

impl Eq for Error[src]

impl From<EndOfFile> for Error[src]

impl From<NoMemory> for Error[src]

impl From<NonZeroUsize> for Error[src]

impl PartialEq<Error> for Error[src]

impl StructuralEq for Error[src]

impl StructuralPartialEq for Error[src]

Auto Trait Implementations

impl Send for Error

impl Sync for Error

impl Unpin for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> TryClone for T where
    T: Clone
[src]

type Error = Void

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.