crosvm/io_uring/src
Chirantan Ekbote eff60328c1 Add a From impl for async errors to io::Error
Sometimes users of cros_async need to return an io::Error.  Provide a
conversion function to convert the various async errors into an
io::Error.  This allows callers to access the underlying error without
forcing us to expose these internal implementation details.

BUG=none
TEST=unit tests

Change-Id: Ie0ab00cb80ea58f628a38c173e28babf30b8d5b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3006308
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
2021-07-06 11:35:26 +00:00
..
bindings.rs io_uring: drop unnecessary 'static in const 2020-06-22 21:10:10 +00:00
lib.rs Add io_uring interfaces 2020-04-05 21:32:20 +00:00
syscalls.rs remove dependencies on syscall_defines 2021-04-21 21:01:38 +00:00
uring.rs Add a From impl for async errors to io::Error 2021-07-06 11:35:26 +00:00