pub struct CommandUtil {}
Implementations§
source§impl CommandUtil
impl CommandUtil
pub async fn execute_query( channel: &mut PacketChannel, sql: &str, ) -> Result<Vec<ResultSetRowPacket>, BinlogError>
pub async fn execute_sql( channel: &mut PacketChannel, sql: &str, ) -> Result<(), BinlogError>
pub async fn fetch_binlog_info( channel: &mut PacketChannel, ) -> Result<(String, u32), BinlogError>
pub async fn fetch_binlog_checksum( channel: &mut PacketChannel, ) -> Result<ChecksumType, BinlogError>
pub async fn setup_binlog_connection( channel: &mut PacketChannel, ) -> Result<(), BinlogError>
pub async fn dump_binlog( channel: &mut PacketChannel, binlog_filename: &str, binlog_position: u32, server_id: u64, ) -> Result<(), BinlogError>
pub fn parse_result(buf: &Vec<u8>) -> Result<(), BinlogError>
pub fn check_error_packet(buf: &Vec<u8>) -> Result<(), BinlogError>
Auto Trait Implementations§
impl Freeze for CommandUtil
impl RefUnwindSafe for CommandUtil
impl Send for CommandUtil
impl Sync for CommandUtil
impl Unpin for CommandUtil
impl UnwindSafe for CommandUtil
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