#[repr(C)]pub struct MYSQL_RPL {
pub file_name_length: usize,
pub file_name: *const c_char,
pub start_position: u64,
pub server_id: c_uint,
pub flags: c_uint,
pub gtid_set_encoded_size: usize,
pub fix_gtid_set: Option<unsafe extern "C" fn(rpl: *mut MYSQL_RPL, packet_gtid_set: *mut c_uchar)>,
pub gtid_set_arg: *mut c_void,
pub size: c_ulong,
pub buffer: *const c_uchar,
}
Expand description
Struct for information about a replication stream.
@sa mysql_binlog_open() @sa mysql_binlog_fetch() @sa mysql_binlog_close()
Fields§
§file_name_length: usize
§file_name: *const c_char
Length of the ‘file_name’ or 0
start_position: u64
Filename of the binary log to read
server_id: c_uint
Position in the binary log to
flags: c_uint
Server ID to use when identifying
gtid_set_encoded_size: usize
Size of gtid set data
fix_gtid_set: Option<unsafe extern "C" fn(rpl: *mut MYSQL_RPL, packet_gtid_set: *mut c_uchar)>
§gtid_set_arg: *mut c_void
§size: c_ulong
GTID set data or an argument for
buffer: *const c_uchar
Size of the packet returned by
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MYSQL_RPL
impl RefUnwindSafe for MYSQL_RPL
impl !Send for MYSQL_RPL
impl !Sync for MYSQL_RPL
impl Unpin for MYSQL_RPL
impl UnwindSafe for MYSQL_RPL
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