cros_async: Expose MemRegion to users

Allow users outside this crate to build MemRegions to user with
asynchronous IO.

Change-Id: Ia95f7c27cc5816181f61ca73641bec6fc11a0e3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2275723
Commit-Queue: Dylan Reid <dgreid@chromium.org>
Tested-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
This commit is contained in:
Dylan Reid 2020-06-25 17:55:12 -07:00 committed by Commit Bot
parent 68ef7cfc9a
commit 39a4354895

View file

@ -77,6 +77,7 @@ pub use poll_or_ring::Error as AsyncError;
pub use poll_or_ring::{PollOrRing, U64Source}; pub use poll_or_ring::{PollOrRing, U64Source};
pub use select::SelectResult; pub use select::SelectResult;
pub use uring_futures::UringSource; pub use uring_futures::UringSource;
pub use uring_mem::MemRegion;
use std::fmt::{self, Display}; use std::fmt::{self, Display};
use std::future::Future; use std::future::Future;