Struct fio_ioengine_sys::fio_file[][src]

#[repr(C)]
pub struct fio_file {
Show fields pub hash_list: flist_head, pub filetype: fio_filetype, pub fd: c_int, pub shadow_fd: c_int, pub major: c_uint, pub minor: c_uint, pub fileno: c_int, pub file_name: *mut c_char, pub real_file_size: u64, pub file_offset: u64, pub io_size: u64, pub zbd_info: *mut zoned_block_device_info, pub min_zone: u32, pub max_zone: u32, pub last_pos: [u64; 3], pub last_start: [u64; 3], pub first_write: u64, pub last_write: u64, pub last_write_comp: *mut u64, pub last_write_idx: c_uint, pub __bindgen_anon_1: fio_file__bindgen_ty_1, pub __bindgen_anon_2: fio_file__bindgen_ty_2, pub __bindgen_anon_3: fio_file__bindgen_ty_3, pub __bindgen_anon_4: fio_file__bindgen_ty_4, pub references: c_int, pub flags: fio_file_flags, pub du: *mut disk_util,
}

Fields

hash_list: flist_headfiletype: fio_filetypefd: c_intshadow_fd: c_intmajor: c_uintminor: c_uintfileno: c_intfile_name: *mut c_charreal_file_size: u64file_offset: u64io_size: u64zbd_info: *mut zoned_block_device_infomin_zone: u32max_zone: u32last_pos: [u64; 3]last_start: [u64; 3]first_write: u64last_write: u64last_write_comp: *mut u64last_write_idx: c_uint__bindgen_anon_1: fio_file__bindgen_ty_1__bindgen_anon_2: fio_file__bindgen_ty_2__bindgen_anon_3: fio_file__bindgen_ty_3__bindgen_anon_4: fio_file__bindgen_ty_4references: c_intflags: fio_file_flagsdu: *mut disk_util

Trait Implementations

impl Clone for fio_file[src]

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

Auto Trait Implementations

impl !Send for fio_file

impl !Sync for fio_file

impl Unpin for fio_file

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.