Enum cloudabi::errno
[−]
[src]
#[repr(u16)]pub enum errno { SUCCESS, TOOBIG, ACCES, ADDRINUSE, ADDRNOTAVAIL, AFNOSUPPORT, AGAIN, ALREADY, BADF, BADMSG, BUSY, CANCELED, CHILD, CONNABORTED, CONNREFUSED, CONNRESET, DEADLK, DESTADDRREQ, DOM, DQUOT, EXIST, FAULT, FBIG, HOSTUNREACH, IDRM, ILSEQ, INPROGRESS, INTR, INVAL, IO, ISCONN, ISDIR, LOOP, MFILE, MLINK, MSGSIZE, MULTIHOP, NAMETOOLONG, NETDOWN, NETRESET, NETUNREACH, NFILE, NOBUFS, NODEV, NOENT, NOEXEC, NOLCK, NOLINK, NOMEM, NOMSG, NOPROTOOPT, NOSPC, NOSYS, NOTCONN, NOTDIR, NOTEMPTY, NOTRECOVERABLE, NOTSOCK, NOTSUP, NOTTY, NXIO, OVERFLOW, OWNERDEAD, PERM, PIPE, PROTO, PROTONOSUPPORT, PROTOTYPE, RANGE, ROFS, SPIPE, SRCH, STALE, TIMEDOUT, TXTBSY, XDEV, NOTCAPABLE, // some variants omitted }
Error codes returned by system calls.
Not all of these error codes are returned by the system calls provided by this environment, but are either used in userspace exclusively or merely provided for alignment with POSIX.
Variants
SUCCESS
No error occurred. System call completed successfully.
TOOBIG
Argument list too long.
ACCES
Permission denied.
ADDRINUSE
Address in use.
ADDRNOTAVAIL
Address not available.
AFNOSUPPORT
Address family not supported.
AGAIN
Resource unavailable, or operation would block.
ALREADY
Connection already in progress.
BADF
Bad file descriptor.
BADMSG
Bad message.
BUSY
Device or resource busy.
CANCELED
Operation canceled.
CHILD
No child processes.
CONNABORTED
Connection aborted.
CONNREFUSED
Connection refused.
CONNRESET
Connection reset.
DEADLK
Resource deadlock would occur.
DESTADDRREQ
Destination address required.
DOM
Mathematics argument out of domain of function.
DQUOT
Reserved.
EXIST
File exists.
FAULT
Bad address.
FBIG
File too large.
HOSTUNREACH
Host is unreachable.
IDRM
Identifier removed.
ILSEQ
Illegal byte sequence.
INPROGRESS
Operation in progress.
INTR
Interrupted function.
INVAL
Invalid argument.
IO
I/O error.
ISCONN
Socket is connected.
ISDIR
Is a directory.
LOOP
Too many levels of symbolic links.
MFILE
File descriptor value too large.
MLINK
Too many links.
MSGSIZE
Message too large.
MULTIHOP
Reserved.
NAMETOOLONG
Filename too long.
NETDOWN
Network is down.
NETRESET
Connection aborted by network.
NETUNREACH
Network unreachable.
NFILE
Too many files open in system.
NOBUFS
No buffer space available.
NODEV
No such device.
NOENT
No such file or directory.
NOEXEC
Executable file format error.
NOLCK
No locks available.
NOLINK
Reserved.
NOMEM
Not enough space.
NOMSG
No message of the desired type.
NOPROTOOPT
Protocol not available.
NOSPC
No space left on device.
NOSYS
Function not supported.
NOTCONN
The socket is not connected.
NOTDIR
Not a directory or a symbolic link to a directory.
NOTEMPTY
Directory not empty.
NOTRECOVERABLE
State not recoverable.
NOTSOCK
Not a socket.
NOTSUP
Not supported, or operation not supported on socket.
NOTTY
Inappropriate I/O control operation.
NXIO
No such device or address.
OVERFLOW
Value too large to be stored in data type.
OWNERDEAD
Previous owner died.
PERM
Operation not permitted.
PIPE
Broken pipe.
PROTO
Protocol error.
PROTONOSUPPORT
Protocol not supported.
PROTOTYPE
Protocol wrong type for socket.
RANGE
Result too large.
ROFS
Read-only file system.
SPIPE
Invalid seek.
SRCH
No such process.
STALE
Reserved.
TIMEDOUT
Connection timed out.
TXTBSY
Text file busy.
XDEV
Cross-device link.
NOTCAPABLE
Extension: Capabilities insufficient.
Trait Implementations
impl Copy for errno
[src]
impl Clone for errno
[src]
fn clone(&self) -> errno
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for errno
[src]
impl PartialEq for errno
[src]
fn eq(&self, __arg_0: &errno) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Hash for errno
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more