Enum one_err::ErrNo [−][src]
#[repr(i32)]
#[non_exhaustive]
pub enum ErrNo {
Show 73 variants
Perm,
NoEnt,
Srch,
Intr,
Io,
NxIo,
TooBig,
NoExec,
BadF,
Child,
NoMem,
Fault,
Busy,
Exist,
XDev,
NoDev,
NotDir,
IsDir,
Inval,
NFile,
MFile,
NotTy,
TxtBsy,
FBig,
NoSpc,
SPipe,
ROFS,
MLink,
Pipe,
Dom,
Range,
DeadLk,
NameTooLong,
NoLck,
NoSys,
NotEmpty,
Loop,
WouldBlock,
NoMsg,
IdRm,
NoStr,
NoData,
Time,
NoSR,
NoLink,
Proto,
BadMsg,
Overflow,
IlSeq,
NotSock,
DestAddrReq,
MsgSize,
ProtoType,
NoProtoOpt,
ProtoNoSupport,
OpNotSupp,
AFNoSupport,
AddrInUse,
AddrNotAvail,
NetDown,
NetUnreach,
NetReset,
ConnAborted,
ConnReset,
NoBufS,
IsConn,
NotConn,
TimedOut,
ConnRefused,
HostUnreach,
Already,
InProgress,
Other,
}
Expand description
Rust translation of errno.h
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Permission denied
No such file or directory
No such process
Interrupted system call
I/O error
No such device or address
Arg list too long
Exec format error
Bad file number
No child processes
Out of memory
Bad address
Device or resource busy
File exists
Cross-device link
No such device
Not a directory
Is a directory
Invalid argument
File table overflow
Too many open files
Not a typewriter
Text file busy
File too large
No space left on device
Illegal seek
Read-only file system
Too many links
Broken pipe
Math argument out of domain of func
Math result not representable
Resource deadlock would occur
File name too long
No record locks available
Function not implemented
Directory not empty
Too many symbolic links encountered
Operation would block
No message of desired type
Identifier removed
Device not a stream
No data available
Timer expired
Out of streams resources
Link has been severed
Protocol error
Not a data message
Value too large for defined data type
Illegal byte sequence
Socket operation on non-socket
Destination address required
Message too long
Protocol wrong type for socket
Protocol not available
Protocol not supported
Operation not supported on transport endpoint
Address family not supported by protocol
Address already in use
Cannot assign requested address
Network is down
Network is unreachable
Network dropped connection because of reset
Software caused connection abort
Connection reset by peer
No buffer space available
Transport endpoint is already connected
Transport endpoint is not connected
Connection timed out
Connection refused
No route to host
Operation already in progress
Operation now in progress
Other / Unrecognized Error
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ErrNo
impl UnwindSafe for ErrNo
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.