Type Alias mariadb_sys::NET

source ·
pub type NET = st_net;

Aliased Type§

struct NET {
Show 33 fields pub vio: *mut st_vio, pub buff: *mut u8, pub buff_end: *mut u8, pub write_pos: *mut u8, pub read_pos: *mut u8, pub fd: i32, pub remain_in_buf: u64, pub length: u64, pub buf_length: u64, pub where_b: u64, pub max_packet: u64, pub max_packet_size: u64, pub pkt_nr: u32, pub compress_pkt_nr: u32, pub write_timeout: u32, pub read_timeout: u32, pub retry_count: u32, pub fcntl: i32, pub return_status: *mut u32, pub reading_or_writing: u8, pub save_char: i8, pub net_skip_rest_factor: i8, pub thread_specific_malloc: i8, pub compress: u8, pub pkt_nr_can_be_reset: i8, pub thd: *mut c_void, pub last_errno: u32, pub error: u8, pub unused4: i8, pub unused5: i8, pub last_error: [i8; 512], pub sqlstate: [i8; 6], pub extension: *mut c_void,
}

Fields§

§vio: *mut st_vio§buff: *mut u8§buff_end: *mut u8§write_pos: *mut u8§read_pos: *mut u8§fd: i32§remain_in_buf: u64§length: u64§buf_length: u64§where_b: u64§max_packet: u64§max_packet_size: u64§pkt_nr: u32§compress_pkt_nr: u32§write_timeout: u32§read_timeout: u32§retry_count: u32§fcntl: i32§return_status: *mut u32§reading_or_writing: u8§save_char: i8§net_skip_rest_factor: i8§thread_specific_malloc: i8§compress: u8§pkt_nr_can_be_reset: i8§thd: *mut c_void§last_errno: u32§error: u8§unused4: i8§unused5: i8§last_error: [i8; 512]

Client library error message buffer. Actually belongs to struct MYSQL.

§sqlstate: [i8; 6]

Client library sqlstate buffer. Set along with the error message.

§extension: *mut c_void