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§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
)