pub struct ReplicationLog { /* private fields */ }Expand description
Manages the replication log
Implementations§
Source§impl ReplicationLog
impl ReplicationLog
Sourcepub fn current_sequence(&self) -> u64
pub fn current_sequence(&self) -> u64
Get the current sequence number
Sourcepub fn truncate_before(&self, before: u64)
pub fn truncate_before(&self, before: u64)
Truncate log before a given sequence
Auto Trait Implementations§
impl Freeze for ReplicationLog
impl !RefUnwindSafe for ReplicationLog
impl Send for ReplicationLog
impl Sync for ReplicationLog
impl Unpin for ReplicationLog
impl !UnwindSafe for ReplicationLog
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