Rollup merge of #130789 - aviramha:add_inprogress, r=Noratrieb · qinheping/verify-rust-std@2c408b1 (original) (raw)
`@@ -400,6 +400,11 @@ pub enum ErrorKind {
`
400
400
`#[stable(feature = "out_of_memory_error", since = "1.54.0")]
`
401
401
`OutOfMemory,
`
402
402
``
``
403
`+
/// The operation was partially successful and needs to be checked
`
``
404
`+
/// later on due to not blocking.
`
``
405
`+
#[unstable(feature = "io_error_inprogress", issue = "none")]
`
``
406
`+
InProgress,
`
``
407
+
403
408
`// "Unusual" error kinds which do not correspond simply to (sets
`
404
409
`// of) OS error codes, should be added just above this comment.
`
405
410
`` // Other
and Uncategorized
should remain at the end:
``
`@@ -449,6 +454,7 @@ impl ErrorKind {
`
449
454
`FilesystemQuotaExceeded => "filesystem quota exceeded",
`
450
455
`HostUnreachable => "host unreachable",
`
451
456
`Interrupted => "operation interrupted",
`
``
457
`+
InProgress => "in progress",
`
452
458
`InvalidData => "invalid data",
`
453
459
`InvalidFilename => "invalid filename",
`
454
460
`InvalidInput => "invalid input parameter",
`