#[repr(C)]pub struct sg_io_hdr {Show 22 fields
pub interface_id: c_int,
pub dxfer_direction: c_int,
pub cmd_len: c_uchar,
pub mx_sb_len: c_uchar,
pub iovec_count: c_ushort,
pub dxfer_len: c_uint,
pub dxferp: *mut c_void,
pub cmdp: *mut c_uchar,
pub sbp: *mut c_uchar,
pub timeout: c_uint,
pub flags: c_uint,
pub pack_id: c_int,
pub usr_ptr: *mut c_void,
pub status: c_uchar,
pub masked_status: c_uchar,
pub msg_status: c_uchar,
pub sb_len_wr: c_uchar,
pub host_status: c_ushort,
pub driver_status: c_ushort,
pub resid: c_int,
pub duration: c_uint,
pub info: c_uint,
}
Fields§
§interface_id: c_int
§dxfer_direction: c_int
§cmd_len: c_uchar
§mx_sb_len: c_uchar
§iovec_count: c_ushort
§dxfer_len: c_uint
§dxferp: *mut c_void
§cmdp: *mut c_uchar
§sbp: *mut c_uchar
§timeout: c_uint
§flags: c_uint
§pack_id: c_int
§usr_ptr: *mut c_void
§status: c_uchar
§masked_status: c_uchar
§msg_status: c_uchar
§sb_len_wr: c_uchar
§host_status: c_ushort
§driver_status: c_ushort
§resid: c_int
§duration: c_uint
§info: c_uint
Trait Implementations§
impl Copy for sg_io_hdr
Auto Trait Implementations§
impl Freeze for sg_io_hdr
impl RefUnwindSafe for sg_io_hdr
impl !Send for sg_io_hdr
impl !Sync for sg_io_hdr
impl Unpin for sg_io_hdr
impl UnwindSafe for sg_io_hdr
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