Struct virtio_sys::vhost::vhost_worker_state
source · #[repr(C)]pub struct vhost_worker_state {
pub worker_id: c_uint,
}
Fields§
§worker_id: c_uint
Trait Implementations§
source§impl Clone for vhost_worker_state
impl Clone for vhost_worker_state
source§fn clone(&self) -> vhost_worker_state
fn clone(&self) -> vhost_worker_state
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 vhost_worker_state
impl Debug for vhost_worker_state
source§impl Default for vhost_worker_state
impl Default for vhost_worker_state
source§fn default() -> vhost_worker_state
fn default() -> vhost_worker_state
Returns the “default value” for a type. Read more
impl Copy for vhost_worker_state
Auto Trait Implementations§
impl RefUnwindSafe for vhost_worker_state
impl Send for vhost_worker_state
impl Sync for vhost_worker_state
impl Unpin for vhost_worker_state
impl UnwindSafe for vhost_worker_state
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