Struct virtio_sys::vhost::vhost_msg_v2
source · #[repr(C)]pub struct vhost_msg_v2 {
pub type_: u32,
pub asid: u32,
pub __bindgen_anon_1: vhost_msg_v2__bindgen_ty_1,
}
Fields§
§type_: u32
§asid: u32
§__bindgen_anon_1: vhost_msg_v2__bindgen_ty_1
Trait Implementations§
source§impl Clone for vhost_msg_v2
impl Clone for vhost_msg_v2
source§fn clone(&self) -> vhost_msg_v2
fn clone(&self) -> vhost_msg_v2
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 Default for vhost_msg_v2
impl Default for vhost_msg_v2
impl Copy for vhost_msg_v2
Auto Trait Implementations§
impl RefUnwindSafe for vhost_msg_v2
impl Send for vhost_msg_v2
impl Sync for vhost_msg_v2
impl Unpin for vhost_msg_v2
impl UnwindSafe for vhost_msg_v2
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