Struct zx::GuestVcpuPacket
source · pub struct GuestVcpuPacket(/* private fields */);
Expand description
Contents of a guest VCPU packet generated by the kernel. This is a type-safe wrapper for zx_packet_guest_vcpu_t
Implementations§
source§impl GuestVcpuPacket
impl GuestVcpuPacket
pub fn from_raw(vcpu: zx_packet_guest_vcpu_t) -> GuestVcpuPacket
pub fn contents(&self) -> VcpuContents
Trait Implementations§
source§impl Clone for GuestVcpuPacket
impl Clone for GuestVcpuPacket
source§fn clone(&self) -> GuestVcpuPacket
fn clone(&self) -> GuestVcpuPacket
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 GuestVcpuPacket
impl Debug for GuestVcpuPacket
impl Copy for GuestVcpuPacket
Auto Trait Implementations§
impl Freeze for GuestVcpuPacket
impl RefUnwindSafe for GuestVcpuPacket
impl Send for GuestVcpuPacket
impl Sync for GuestVcpuPacket
impl Unpin for GuestVcpuPacket
impl UnwindSafe for GuestVcpuPacket
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
)