Struct zx::GuestMemPacket
source · pub struct GuestMemPacket(/* private fields */);
Expand description
Contents of a guest memory packet generated by the kernel. This is a type-safe wrapper for zx_packet_guest_memory_t
Implementations§
source§impl GuestMemPacket
impl GuestMemPacket
pub fn from_raw(mem: zx_packet_guest_mem_t) -> GuestMemPacket
source§impl GuestMemPacket
impl GuestMemPacket
sourcepub fn default_operand_size(&self) -> Option<CSDefaultOperandSize>
pub fn default_operand_size(&self) -> Option<CSDefaultOperandSize>
Specifies the default operand size encoded by the CS descriptor.
Returns a None
should it find an invalid size in the packet.
Trait Implementations§
source§impl Clone for GuestMemPacket
impl Clone for GuestMemPacket
source§fn clone(&self) -> GuestMemPacket
fn clone(&self) -> GuestMemPacket
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GuestMemPacket
impl Debug for GuestMemPacket
impl Copy for GuestMemPacket
Auto Trait Implementations§
impl Freeze for GuestMemPacket
impl RefUnwindSafe for GuestMemPacket
impl Send for GuestMemPacket
impl Sync for GuestMemPacket
impl Unpin for GuestMemPacket
impl UnwindSafe for GuestMemPacket
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)