Struct fio_ioengine_sys::sg_io_hdr[][src]

#[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,
}

Fields

interface_id: c_intdxfer_direction: c_intcmd_len: c_ucharmx_sb_len: c_uchariovec_count: c_ushortdxfer_len: c_uintdxferp: *mut c_voidcmdp: *mut c_ucharsbp: *mut c_uchartimeout: c_uintflags: c_uintpack_id: c_intusr_ptr: *mut c_voidstatus: c_ucharmasked_status: c_ucharmsg_status: c_ucharsb_len_wr: c_ucharhost_status: c_ushortdriver_status: c_ushortresid: c_intduration: c_uintinfo: c_uint

Trait Implementations

impl Clone for sg_io_hdr[src]

fn clone(&self) -> sg_io_hdr[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for sg_io_hdr[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Copy for sg_io_hdr[src]

Auto Trait Implementations

impl !Send for sg_io_hdr

impl !Sync for sg_io_hdr

impl Unpin for sg_io_hdr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.