diff options
author | Dylan Reid <dgreid@chromium.org> | 2020-05-05 04:13:44 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-07 22:39:10 +0000 |
commit | 0bb7fa603d6250079ac818289b5c887175ea35b3 (patch) | |
tree | 08a0bb766fff02188eebe62ef05e42f4c1f55cd4 /msg_socket/src/msg_on_socket.rs | |
parent | 882e2cea3bdeb6341b1e38b04e93ac6ede5a493d (diff) | |
download | crosvm-0bb7fa603d6250079ac818289b5c887175ea35b3.tar crosvm-0bb7fa603d6250079ac818289b5c887175ea35b3.tar.gz crosvm-0bb7fa603d6250079ac818289b5c887175ea35b3.tar.bz2 crosvm-0bb7fa603d6250079ac818289b5c887175ea35b3.tar.lz crosvm-0bb7fa603d6250079ac818289b5c887175ea35b3.tar.xz crosvm-0bb7fa603d6250079ac818289b5c887175ea35b3.tar.zst crosvm-0bb7fa603d6250079ac818289b5c887175ea35b3.zip |
cros_async: Hide the details of fd_executor
The type of the executor leaked from the cros_async crate. That was fine until the desire to add a new executor arose. Hide the fd_executor so that a uring_executor can be substituted on newer kernels. Change-Id: I8dd309fd47e1b4a6e16da274abbb8431c80474af Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2182042 Reviewed-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Tested-by: Dylan Reid <dgreid@chromium.org> Commit-Queue: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'msg_socket/src/msg_on_socket.rs')
-rw-r--r-- | msg_socket/src/msg_on_socket.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/msg_socket/src/msg_on_socket.rs b/msg_socket/src/msg_on_socket.rs index 097bc48..141a8de 100644 --- a/msg_socket/src/msg_on_socket.rs +++ b/msg_socket/src/msg_on_socket.rs @@ -20,7 +20,7 @@ use sys_util::{Error as SysError, EventFd}; /// An error during transaction or serialization/deserialization. pub enum MsgError { /// Error adding a waker for async read. - AddingWaker(cros_async::fd_executor::Error), + AddingWaker(cros_async::Error), /// Error while sending a request or response. Send(SysError), /// Error while receiving a request or response. |