pub trait SyncupView {
// Required methods
fn last_sync(&self) -> Vlsn;
fn last_txn_end(&self) -> Vlsn;
fn first_vlsn(&self) -> Vlsn;
fn entry(&self, vlsn: Vlsn) -> Option<VlsnEntry>;
}Expand description
A node’s view of its replicated log for syncup: the VLSN range plus a way
to look up each VLSN’s VlsnEntry. Models the replica’s VLSNIndex +
log and the feeder’s responses to EntryRequest.
Required Methods§
Sourcefn last_sync(&self) -> Vlsn
fn last_sync(&self) -> Vlsn
Highest sync-point VLSN (VLSNRange.getLastSync) — the first
matchpoint candidate.
Sourcefn last_txn_end(&self) -> Vlsn
fn last_txn_end(&self) -> Vlsn
Highest commit/abort VLSN (VLSNRange.getLastTxnEnd) — the rollback
safety boundary.
Sourcefn first_vlsn(&self) -> Vlsn
fn first_vlsn(&self) -> Vlsn
First contiguous VLSN available (VLSNRange.getFirst). The search may
not go below this.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".