Struct fio_ioengine_sys::io_u[][src]

#[repr(C)]
pub struct io_u {
Show fields pub start_time: timespec, pub issue_time: timespec, pub file: *mut fio_file, pub flags: c_uint, pub ddir: fio_ddir, pub acct_ddir: fio_ddir, pub numberio: c_ushort, pub buflen: c_ulonglong, pub offset: c_ulonglong, pub verify_offset: c_ulonglong, pub buf: *mut c_void, pub rand_seed: u64, pub xfer_buf: *mut c_void, pub xfer_buflen: c_ulonglong, pub buf_filled_len: c_ulonglong, pub ipo: *mut io_piece, pub resid: c_ulonglong, pub error: c_uint, pub __bindgen_anon_1: io_u__bindgen_ty_1, pub __bindgen_anon_2: io_u__bindgen_ty_2, pub zbd_queue_io: Option<unsafe extern "C" fn(td: *mut thread_data, arg1: *mut io_u, q: c_int, success: bool_)>, pub zbd_put_io: Option<unsafe extern "C" fn(td: *mut thread_data, arg1: *const io_u)>, pub end_io: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut *mut io_u) -> c_int>, pub __bindgen_anon_3: io_u__bindgen_ty_3,
}

Fields

start_time: timespecissue_time: timespecfile: *mut fio_fileflags: c_uintddir: fio_ddiracct_ddir: fio_ddirnumberio: c_ushortbuflen: c_ulonglongoffset: c_ulonglongverify_offset: c_ulonglongbuf: *mut c_voidrand_seed: u64xfer_buf: *mut c_voidxfer_buflen: c_ulonglongbuf_filled_len: c_ulonglongipo: *mut io_pieceresid: c_ulonglongerror: c_uint__bindgen_anon_1: io_u__bindgen_ty_1__bindgen_anon_2: io_u__bindgen_ty_2zbd_queue_io: Option<unsafe extern "C" fn(td: *mut thread_data, arg1: *mut io_u, q: c_int, success: bool_)>zbd_put_io: Option<unsafe extern "C" fn(td: *mut thread_data, arg1: *const io_u)>end_io: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut *mut io_u) -> c_int>__bindgen_anon_3: io_u__bindgen_ty_3

Trait Implementations

impl Clone for io_u[src]

fn clone(&self) -> io_u[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 Copy for io_u[src]

Auto Trait Implementations

impl !Send for io_u

impl !Sync for io_u

impl Unpin for io_u

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.