#[non_exhaustive]pub enum Position {
MysqlLogPosition(Box<MysqlLogPosition>),
OracleScnPosition(Box<OracleScnPosition>),
SqlServerLsnPosition(Box<SqlServerLsnPosition>),
MysqlGtidPosition(Box<MysqlGtidPosition>),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MysqlLogPosition(Box<MysqlLogPosition>)
MySQL specific log position to start replicating from.
OracleScnPosition(Box<OracleScnPosition>)
Oracle SCN to start replicating from.
SqlServerLsnPosition(Box<SqlServerLsnPosition>)
SqlServer LSN to start replicating from.
MysqlGtidPosition(Box<MysqlGtidPosition>)
MySQL GTID set to start replicating from.
Trait Implementations§
impl StructuralPartialEq for Position
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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