pub struct BinlogClient {
pub url: String,
pub binlog_filename: String,
pub binlog_position: u32,
pub server_id: u64,
}
Fields§
§url: String
§binlog_filename: String
§binlog_position: u32
§server_id: u64
Implementations§
source§impl BinlogClient
impl BinlogClient
pub async fn connect(&mut self) -> Result<BinlogStream, BinlogError>
Auto Trait Implementations§
impl RefUnwindSafe for BinlogClient
impl Send for BinlogClient
impl Sync for BinlogClient
impl Unpin for BinlogClient
impl UnwindSafe for BinlogClient
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