pub struct BinlogStream {
pub channel: PacketChannel,
pub parser: BinlogParser,
}
Fields§
§channel: PacketChannel
§parser: BinlogParser
Implementations§
source§impl BinlogStream
impl BinlogStream
pub async fn read(&mut self) -> Result<(EventHeader, EventData), BinlogError>
pub async fn close(&mut self) -> Result<(), BinlogError>
Auto Trait Implementations§
impl RefUnwindSafe for BinlogStream
impl Send for BinlogStream
impl Sync for BinlogStream
impl Unpin for BinlogStream
impl UnwindSafe for BinlogStream
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