pub struct Checkpointer { /* private fields */ }Expand description
Manages checkpoints for a replication session.
Implementations§
Source§impl Checkpointer
impl Checkpointer
Sourcepub fn new(source_id: &str, target_id: &str) -> Self
pub fn new(source_id: &str, target_id: &str) -> Self
Create a new checkpointer for a replication between source and target.
pub fn replication_id(&self) -> &str
Auto Trait Implementations§
impl Freeze for Checkpointer
impl RefUnwindSafe for Checkpointer
impl Send for Checkpointer
impl Sync for Checkpointer
impl Unpin for Checkpointer
impl UnwindSafe for Checkpointer
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