diff options
author | Dylan Reid <dgreid@chromium.org> | 2017-06-20 13:44:40 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-06-26 15:28:36 -0700 |
commit | 045c7133dd22e4cc5fe62af136c15b04a8b8a485 (patch) | |
tree | 7ff0f5b65f2e45f84ffe70dfece3c1a76809d506 /sys_util/src/guest_memory.rs | |
parent | be4a4c97be4afa6ac4808808841a97bdf5661e04 (diff) | |
download | crosvm-045c7133dd22e4cc5fe62af136c15b04a8b8a485.tar crosvm-045c7133dd22e4cc5fe62af136c15b04a8b8a485.tar.gz crosvm-045c7133dd22e4cc5fe62af136c15b04a8b8a485.tar.bz2 crosvm-045c7133dd22e4cc5fe62af136c15b04a8b8a485.tar.lz crosvm-045c7133dd22e4cc5fe62af136c15b04a8b8a485.tar.xz crosvm-045c7133dd22e4cc5fe62af136c15b04a8b8a485.tar.zst crosvm-045c7133dd22e4cc5fe62af136c15b04a8b8a485.zip |
Add data_model with DataInit trait
The data_model crate is created to hold the DataInit trait. Types implementing this unsafe trait must guarantee that the type can be initialized with random data and the resulting object will be valid. Change-Id: Id6314d114805ec502adabe50a8bd6aa42fdb2c52 Signed-off-by: Dylan Reid <dgreid@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/541681 Reviewed-by: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'sys_util/src/guest_memory.rs')
0 files changed, 0 insertions, 0 deletions