#[repr(C)]
pub struct sg_io_hdr {Show 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,
}
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.