#[repr(C)]pub struct sg_scsi_id {
pub host_no: c_int,
pub channel: c_int,
pub scsi_id: c_int,
pub lun: c_int,
pub scsi_type: c_int,
pub h_cmd_per_lun: c_short,
pub d_queue_depth: c_short,
pub unused: [c_int; 2],
}Fields§
§host_no: c_int§channel: c_int§scsi_id: c_int§lun: c_int§scsi_type: c_int§h_cmd_per_lun: c_short§d_queue_depth: c_short§unused: [c_int; 2]Trait Implementations§
Source§impl Clone for sg_scsi_id
impl Clone for sg_scsi_id
Source§fn clone(&self) -> sg_scsi_id
fn clone(&self) -> sg_scsi_id
Returns a duplicate 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 sg_scsi_id
impl Debug for sg_scsi_id
Source§impl Default for sg_scsi_id
impl Default for sg_scsi_id
Source§fn default() -> sg_scsi_id
fn default() -> sg_scsi_id
Returns the “default value” for a type. Read more
impl Copy for sg_scsi_id
Auto Trait Implementations§
impl Freeze for sg_scsi_id
impl RefUnwindSafe for sg_scsi_id
impl Send for sg_scsi_id
impl Sync for sg_scsi_id
impl Unpin for sg_scsi_id
impl UnwindSafe for sg_scsi_id
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