mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
eff60328c1
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> |
||
---|---|---|
.. | ||
src | ||
.build_test_skip | ||
Cargo.toml |