Skip to content

Add WouldBlock error kind to IoError #16666

Closed
@carllerche

Description

@carllerche

I'm working on a non-blocking IO lib for rust. It would be very helpful to have an error kind that clearly indicates the retry semantics of non-blocking IO.

I believe that currently EAGAIN and EWOULDBLOCK are mapped to ResourceUnavailable but that does not clearly indicate the would block / retry semantics.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions