Skip to main content

mysql_replication/
lib.rs

1#![forbid(unsafe_code)]
2#![doc = include_str!("../README.md")]
3//! MySQL replication transport and borrowed binary-log events.
4//!
5//! Events describe the wire protocol. Filtering, row-to-change conversion,
6//! transaction delivery and checkpoint persistence belong to the consumer.
7mod error;
8pub mod event_type;
9pub mod events;
10pub mod file;
11mod frame;
12pub mod parser;
13pub mod stream;
14mod wire;
15
16pub use error::{Error, Result};
17pub use events::{BinlogEvent, Event, EventData, EventHeader, OwnedBinlogEvent};
18pub use frame::{BinlogFrame, EventView, FrameDecoder, MAX_EVENT_BYTES};
19pub use parser::BinlogParser;