mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
738adc7072
Introduce a new dedicated trait for types that can be used as serial input. This trait adds the requirement that the type must implement `AsRawDescriptor`, which will allow us to use the input as a poll source instead of having to spin a dedicated thread to call `read()` on it. BUG=b:228912920 TEST=cargo build Change-Id: Ib07f7b4e63545fa0f27940553ad6124796f5b3cc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3600167 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |