Struct mariadb_sys::st_io_cache
source · #[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§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: usizeAuto Trait Implementations§
impl RefUnwindSafe for st_io_cache
impl !Send for st_io_cache
impl !Sync for st_io_cache
impl Unpin for st_io_cache
impl UnwindSafe for st_io_cache
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more