crosvm/sys_util
Zach Reizner b2e528b575 sys_util: impl Pollable for File
Files are Pollable because they have an FD. Whether this makes sense for
any specific `File` is not enforced, but it will never be unsafe or
undefined when used with Poller.

BUG=chromium:793688
TEST=None

Change-Id: I2ce7ffd1b408bcee5ffbb3738d26339aa0c466e0
Reviewed-on: https://chromium-review.googlesource.com/985617
Commit-Ready: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
2018-03-29 21:59:45 -07:00
..
poll_token_derive poll_token_derive: Calculate variant bits without sizeof_val 2018-03-20 00:00:28 -07:00
src sys_util: impl Pollable for File 2018-03-29 21:59:45 -07:00
build.rs fix compiler errors and warnings 2017-08-30 13:04:16 -07:00
Cargo.toml sys_util: custom derive for PollToken 2018-03-07 16:54:46 -08:00
sock_ctrl_msg.c fix armv7a and aarch64 build errors and warnings 2017-09-01 12:39:18 -07:00