[−][src]Enum wasi_types::ErrNo
Error codes returned by functions.
Variants (Non-exhaustive)
Success
No error occurred. System call completed successfully.
TooBig
Argument list too long.
Access
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.
Domain
Mathematics argument out of domain of function.
DQuot
Reserved. (Quota exceeded.)
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. (Multihop attempted.)
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.
NoLock
No locks available.
NoLink
Reserved. (Link has been severed.)
NoMem
Not enough space.
NoMsg
No message of the desired type.
NoProtoOpt
Protocol not available.
NoSpace
No space left on device.
NoSys
Function not supported. (Always unsupported.)
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. (Transient unsupported.)
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. (Stale file handle.)
TimedOut
Connection timed out.
TxtBsy
Text file busy.
XDev
Cross-device link.
NotCapable
Extension: Capabilities insufficient.
Trait Implementations
impl PartialEq<ErrNo> for ErrNo
[src]
fn eq(&self, other: &ErrNo) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for ErrNo
[src]
impl Clone for ErrNo
[src]
fn clone(&self) -> ErrNo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<Error> for ErrNo
[src]
impl Debug for ErrNo
[src]
impl TryFrom<u8> for ErrNo
[src]
type Error = ()
The type returned in the event of a conversion error.
fn try_from(prim: u8) -> Result<Self, Self::Error>
[src]
impl TryFrom<u16> for ErrNo
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,