#[repr(C)]
pub struct st_io_cache {
Show 27 fields pub pos_in_file: my_off_t, pub end_of_file: my_off_t, pub read_pos: *mut uchar, pub read_end: *mut uchar, pub buffer: *mut uchar, pub request_pos: *mut uchar, pub write_buffer: *mut uchar, pub append_read_pos: *mut uchar, pub write_pos: *mut uchar, pub write_end: *mut uchar, pub append_buffer_lock: mysql_mutex_t, pub share: *mut IO_CACHE_SHARE, pub read_function: Option<unsafe extern "C" fn(arg1: *mut st_io_cache, arg2: *mut uchar, arg3: usize) -> c_int>, pub write_function: Option<unsafe extern "C" fn(arg1: *mut st_io_cache, arg2: *const uchar, arg3: usize) -> c_int>, pub type_: Type, pub disk_writes: ulong, pub file_name: *mut c_char, pub dir: *const c_char, pub prefix: [c_char; 3], pub file: File, pub next_file_user: *mut st_io_cache, pub seek_not_done: c_int, pub error: c_int, pub buffer_length: usize, pub read_length: usize, pub myflags: myf, pub alloced_buffer: usize,
}

Fields§

§pos_in_file: my_off_t§end_of_file: my_off_t§read_pos: *mut uchar§read_end: *mut uchar§buffer: *mut uchar§request_pos: *mut uchar§write_buffer: *mut uchar§append_read_pos: *mut uchar§write_pos: *mut uchar§write_end: *mut uchar§append_buffer_lock: mysql_mutex_t§share: *mut IO_CACHE_SHARE§read_function: Option<unsafe extern "C" fn(arg1: *mut st_io_cache, arg2: *mut uchar, arg3: usize) -> c_int>§write_function: Option<unsafe extern "C" fn(arg1: *mut st_io_cache, arg2: *const uchar, arg3: usize) -> c_int>§type_: Type§disk_writes: ulong§file_name: *mut c_char§dir: *const c_char§prefix: [c_char; 3]§file: File§next_file_user: *mut st_io_cache§seek_not_done: c_int§error: c_int§buffer_length: usize§read_length: usize§myflags: myf§alloced_buffer: usize

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

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

Performs the conversion.