Struct machina_virtio_device::GuestMem
source · pub struct GuestMem { /* private fields */ }
Expand description
Provide access to guest memory.
Takes a zx::Vmo
that represents guest memory and provides an implementation of
[DriverMem
].
Implementations§
source§impl GuestMem
impl GuestMem
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GuestMem
impl RefUnwindSafe for GuestMem
impl Send for GuestMem
impl Sync for GuestMem
impl Unpin for GuestMem
impl UnwindSafe for GuestMem
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more