pub enum Error {
Show 50 variants PERM, NOENT, SRCH, INTR, IO, NXIO, TOOBIG, NOEXEC, BADF, CHILD, WOULDBLOCK, NOMEM, ACCES, FAULT, BUSY, EXIST, XDEV, NODEV, NOTDIR, ISDIR, INVAL, NFILE, MFILE, NOSPC, ROFS, MLINK, DOM, RANGE, DEADLOCK, NAMETOOLONG, NOLCK, NOSYS, NOTEMPTY, NODATA, TIME, BADMSG, OVERFLOW, ILSEQ, RESTART, NOTSOCK, MSGSIZE, OPNOTSUPP, ADDRINUSE, ADDRNOTAVAIL, NOBUFS, ISCONN, NOTCONN, TIMEDOUT, CONNREFUSED, Unknown(i64),
}
Expand description

Hypercall Error

Variants

PERM

Operation not permitted

NOENT

No such file or directory

SRCH

No such process

INTR

Interrupted system call. Internal only, should never be exposed to the guest.

IO

I/O error

NXIO

No such device or address

TOOBIG

Arg list too long

NOEXEC

Exec format error

BADF

Bad file number

CHILD

No child processes

WOULDBLOCK

Operation would block

NOMEM

Out of memory

ACCES

Permission denied

FAULT

Bad address

BUSY

Device or resource busy

EXIST

File exists

XDEV

Cross-device link

NODEV

No such device

NOTDIR

Not a directory

ISDIR

Is a directory

INVAL

Invalid argument

NFILE

File table overflow

MFILE

Too many open files

NOSPC

No space left on device

ROFS

Read-only file system

Too many links

DOM

Math argument out of domain of func

RANGE

Math result not representable

DEADLOCK

Resource deadlock would occur

NAMETOOLONG

File name too long

NOLCK

No record locks available

NOSYS

Function not implemented

NOTEMPTY

Directory not empty

NODATA

No data available

TIME

Timer expired

BADMSG

Not a data message

OVERFLOW

Value too large for defined data type

ILSEQ

Illegal byte sequence

RESTART

Interrupted system call should be restarted. Internal only, should never be exposed to the guest.

NOTSOCK

Socket operation on non-socket

MSGSIZE

Message too large.

OPNOTSUPP

Operation not supported on transport endpoint

ADDRINUSE

Address already in use

ADDRNOTAVAIL

Cannot assign requested address

NOBUFS

No buffer space available

ISCONN

Transport endpoint is already connected

NOTCONN

Transport endpoint is not connected

TIMEDOUT

Connection timed out

CONNREFUSED

Connection refused

Unknown(i64)

Unknown error

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.