Struct virtio_sys::virtio_scsi::virtio_scsi_event
source · #[repr(C, packed(1))]pub struct virtio_scsi_event {
pub event: __virtio32,
pub lun: [u8; 8],
pub reason: __virtio32,
}
Fields§
§event: __virtio32
§lun: [u8; 8]
§reason: __virtio32
Trait Implementations§
source§impl Clone for virtio_scsi_event
impl Clone for virtio_scsi_event
source§fn clone(&self) -> virtio_scsi_event
fn clone(&self) -> virtio_scsi_event
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 virtio_scsi_event
impl Debug for virtio_scsi_event
source§impl Default for virtio_scsi_event
impl Default for virtio_scsi_event
source§fn default() -> virtio_scsi_event
fn default() -> virtio_scsi_event
Returns the “default value” for a type. Read more
impl Copy for virtio_scsi_event
Auto Trait Implementations§
impl RefUnwindSafe for virtio_scsi_event
impl Send for virtio_scsi_event
impl Sync for virtio_scsi_event
impl Unpin for virtio_scsi_event
impl UnwindSafe for virtio_scsi_event
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