#[repr(u32)]pub enum Status {
Show 75 variants
Ok = 0,
InvalidArgument = 257,
InvalidData = 258,
PermissionDenied = 259,
OperationNotPermitted = 260,
InputOutput = 261,
OutOfMemory = 262,
WouldBlock = 263,
ResourceBusy = 264,
Interrupted = 265,
TimedOut = 266,
Unsupported = 267,
Overflow = 268,
WriteZero = 269,
NoBuffers = 270,
NotFound = 271,
AlreadyExists = 272,
InvalidFlags = 273,
InvalidState = 274,
NotImplemented = 275,
ExecFormat = 276,
NoChild = 277,
ArgumentListTooLong = 278,
Deadlock = 279,
BadDescriptor = 513,
InvalidPath = 514,
MissingPathComponent = 515,
MissingFinalEntry = 516,
NameTooLong = 517,
SymlinkLoop = 518,
NotADirectory = 519,
IsADirectory = 520,
DirectoryNotEmpty = 521,
NoSpace = 522,
FileTooLarge = 523,
ProcessFileLimit = 524,
SystemFileLimit = 525,
CrossDevice = 526,
PathEscapesRoot = 527,
CorruptData = 528,
MissingAttribute = 529,
StaleHandle = 530,
ReadOnlyFileSystem = 531,
InvalidSeek = 532,
Unavailable = 769,
NoSuchTask = 770,
InappropriateIoControl = 771,
ConnectionRefused = 1_025,
ConnectionReset = 1_026,
ConnectionAborted = 1_027,
NotConnected = 1_028,
AlreadyConnected = 1_029,
AddressInUse = 1_030,
AddressNotAvailable = 1_031,
DestinationRequired = 1_032,
HostUnreachable = 1_033,
NetworkUnreachable = 1_034,
NetworkDown = 1_035,
BrokenPipe = 1_036,
MessageTooLarge = 1_037,
DatagramTruncated = 1_038,
SocketOperationUnsupported = 1_039,
ProtocolUnsupported = 1_040,
AddressFamilyUnsupported = 1_041,
InProgress = 1_042,
AlreadyInProgress = 1_043,
ProtocolError = 1_044,
NotASocket = 1_045,
InvalidDnsName = 1_281,
UnsupportedDnsQuery = 1_282,
NameNotResolved = 1_283,
ResolverTemporaryFailure = 1_284,
ResolverFailure = 1_285,
End = 1_793,
BufferTooSmall = 1_794,
}Expand description
Native status values mirror the unified error kinds one-to-one. Zero is success.
Variants§
Ok = 0
InvalidArgument = 257
InvalidData = 258
PermissionDenied = 259
OperationNotPermitted = 260
InputOutput = 261
OutOfMemory = 262
WouldBlock = 263
ResourceBusy = 264
Interrupted = 265
TimedOut = 266
Unsupported = 267
Overflow = 268
WriteZero = 269
NoBuffers = 270
NotFound = 271
AlreadyExists = 272
InvalidFlags = 273
InvalidState = 274
NotImplemented = 275
ExecFormat = 276
NoChild = 277
ArgumentListTooLong = 278
Deadlock = 279
BadDescriptor = 513
InvalidPath = 514
MissingPathComponent = 515
MissingFinalEntry = 516
NameTooLong = 517
SymlinkLoop = 518
NotADirectory = 519
IsADirectory = 520
DirectoryNotEmpty = 521
NoSpace = 522
FileTooLarge = 523
ProcessFileLimit = 524
SystemFileLimit = 525
CrossDevice = 526
PathEscapesRoot = 527
CorruptData = 528
MissingAttribute = 529
StaleHandle = 530
ReadOnlyFileSystem = 531
InvalidSeek = 532
NoSuchTask = 770
InappropriateIoControl = 771
ConnectionRefused = 1_025
ConnectionReset = 1_026
ConnectionAborted = 1_027
NotConnected = 1_028
AlreadyConnected = 1_029
AddressInUse = 1_030
AddressNotAvailable = 1_031
DestinationRequired = 1_032
HostUnreachable = 1_033
NetworkUnreachable = 1_034
NetworkDown = 1_035
BrokenPipe = 1_036
MessageTooLarge = 1_037
DatagramTruncated = 1_038
SocketOperationUnsupported = 1_039
ProtocolUnsupported = 1_040
AddressFamilyUnsupported = 1_041
InProgress = 1_042
AlreadyInProgress = 1_043
ProtocolError = 1_044
NotASocket = 1_045
InvalidDnsName = 1_281
UnsupportedDnsQuery = 1_282
NameNotResolved = 1_283
ResolverTemporaryFailure = 1_284
ResolverFailure = 1_285
End = 1_793
BufferTooSmall = 1_794
Implementations§
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more