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

No error occurred. System call completed successfully.

Argument list too long.

Permission denied.

Address in use.

Address not available.

Address family not supported.

Resource unavailable, or operation would block.

Connection already in progress.

Bad file descriptor.

Bad message.

Device or resource busy.

Operation canceled.

No child processes.

Connection aborted.

Connection refused.

Connection reset.

Resource deadlock would occur.

Destination address required.

Mathematics argument out of domain of function.

Reserved.

File exists.

Bad address.

File too large.

Host is unreachable.

Identifier removed.

Illegal byte sequence.

Operation in progress.

Interrupted function.

Invalid argument.

I/O error.

Socket is connected.

Is a directory.

Too many levels of symbolic links.

File descriptor value too large.

Too many links.

Message too large.

Reserved.

Filename too long.

Network is down.

Connection aborted by network.

Network unreachable.

Too many files open in system.

No buffer space available.

No such device.

No such file or directory.

Executable file format error.

No locks available.

Reserved.

Not enough space.

No message of the desired type.

Protocol not available.

No space left on device.

Function not supported.

The socket is not connected.

Not a directory or a symbolic link to a directory.

Directory not empty.

State not recoverable.

Not a socket.

Not supported, or operation not supported on socket.

Inappropriate I/O control operation.

No such device or address.

Value too large to be stored in data type.

Previous owner died.

Operation not permitted.

Broken pipe.

Protocol error.

Protocol not supported.

Protocol wrong type for socket.

Result too large.

Read-only file system.

Invalid seek.

No such process.

Reserved.

Connection timed out.

Text file busy.

Cross-device link.

Extension: Capabilities insufficient.

Trait Implementations

impl Copy for errno
[src]

impl Clone for errno
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for errno
[src]

impl PartialEq for errno
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Hash for errno
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for errno
[src]

[src]

Formats the value using the given formatter.