#[repr(C)]pub struct st_mariadb_methods {Show 21 fields
pub db_connect: Option<unsafe extern "C" fn(mysql: *mut MYSQL, host: *const c_char, user: *const c_char, passwd: *const c_char, db: *const c_char, port: c_uint, unix_socket: *const c_char, clientflag: c_ulong) -> *mut MYSQL>,
pub db_close: Option<unsafe extern "C" fn(mysql: *mut MYSQL)>,
pub db_command: Option<unsafe extern "C" fn(mysql: *mut MYSQL, command: enum_server_command, arg: *const c_char, length: usize, skip_check: my_bool, opt_arg: *mut c_void) -> c_int>,
pub db_skip_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL)>,
pub db_read_query_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>,
pub db_read_rows: Option<unsafe extern "C" fn(mysql: *mut MYSQL, fields: *mut MYSQL_FIELD, field_count: c_uint) -> *mut MYSQL_DATA>,
pub db_read_one_row: Option<unsafe extern "C" fn(mysql: *mut MYSQL, fields: c_uint, row: MYSQL_ROW, lengths: *mut c_ulong) -> c_int>,
pub db_supported_buffer_type: Option<unsafe extern "C" fn(type_: enum_field_types) -> my_bool>,
pub db_read_prepare_response: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>,
pub db_read_stmt_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>,
pub db_stmt_get_result_metadata: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>,
pub db_stmt_get_param_metadata: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>,
pub db_stmt_read_all_rows: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>,
pub db_stmt_fetch: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, row: *mut *mut c_uchar) -> c_int>,
pub db_stmt_fetch_to_bind: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, row: *mut c_uchar) -> c_int>,
pub db_stmt_flush_unbuffered: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT)>,
pub set_error: Option<unsafe extern "C" fn(mysql: *mut MYSQL, error_nr: c_uint, sqlstate: *const c_char, format: *const c_char, ...)>,
pub invalidate_stmts: Option<unsafe extern "C" fn(mysql: *mut MYSQL, function_name: *const c_char)>,
pub api: *mut st_mariadb_api,
pub db_read_execute_response: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>,
pub db_execute_generate_request: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, request_len: *mut usize, internal: my_bool) -> *mut c_uchar>,
}
Fields§
§db_connect: Option<unsafe extern "C" fn(mysql: *mut MYSQL, host: *const c_char, user: *const c_char, passwd: *const c_char, db: *const c_char, port: c_uint, unix_socket: *const c_char, clientflag: c_ulong) -> *mut MYSQL>
§db_close: Option<unsafe extern "C" fn(mysql: *mut MYSQL)>
§db_command: Option<unsafe extern "C" fn(mysql: *mut MYSQL, command: enum_server_command, arg: *const c_char, length: usize, skip_check: my_bool, opt_arg: *mut c_void) -> c_int>
§db_skip_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL)>
§db_read_query_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>
§db_read_rows: Option<unsafe extern "C" fn(mysql: *mut MYSQL, fields: *mut MYSQL_FIELD, field_count: c_uint) -> *mut MYSQL_DATA>
§db_read_one_row: Option<unsafe extern "C" fn(mysql: *mut MYSQL, fields: c_uint, row: MYSQL_ROW, lengths: *mut c_ulong) -> c_int>
§db_supported_buffer_type: Option<unsafe extern "C" fn(type_: enum_field_types) -> my_bool>
§db_read_prepare_response: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>
§db_read_stmt_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>
§db_stmt_get_result_metadata: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>
§db_stmt_get_param_metadata: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>
§db_stmt_read_all_rows: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>
§db_stmt_fetch: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, row: *mut *mut c_uchar) -> c_int>
§db_stmt_fetch_to_bind: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, row: *mut c_uchar) -> c_int>
§db_stmt_flush_unbuffered: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT)>
§set_error: Option<unsafe extern "C" fn(mysql: *mut MYSQL, error_nr: c_uint, sqlstate: *const c_char, format: *const c_char, ...)>
§invalidate_stmts: Option<unsafe extern "C" fn(mysql: *mut MYSQL, function_name: *const c_char)>
§api: *mut st_mariadb_api
§db_read_execute_response: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>
§db_execute_generate_request: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, request_len: *mut usize, internal: my_bool) -> *mut c_uchar>
Trait Implementations§
Source§impl Clone for st_mariadb_methods
impl Clone for st_mariadb_methods
Source§fn clone(&self) -> st_mariadb_methods
fn clone(&self) -> st_mariadb_methods
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for st_mariadb_methods
impl Debug for st_mariadb_methods
impl Copy for st_mariadb_methods
Auto Trait Implementations§
impl Freeze for st_mariadb_methods
impl RefUnwindSafe for st_mariadb_methods
impl !Send for st_mariadb_methods
impl !Sync for st_mariadb_methods
impl Unpin for st_mariadb_methods
impl UnwindSafe for st_mariadb_methods
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