pub struct VlsnEntry {
pub lsn: u64,
pub fingerprint: u64,
pub is_sync: bool,
}Expand description
One node’s per-VLSN log identity used for matchpoint comparison: the LSN the entry lives at and a record fingerprint (checksum) used to confirm the two nodes hold the same record at that VLSN, not merely the same VLSN.
JE compares full OutputWireRecord.match(InputWireRecord); here the
fingerprint stands in for that record equality.
Fields§
§lsn: u64LSN where this VLSN’s log entry resides.
fingerprint: u64Record fingerprint (e.g. entry checksum) for record-equality.
is_sync: boolWhether this VLSN is a sync-point (a valid matchpoint candidate). JE
only matches at sync points (range.getLastSync() and earlier sync
entries scanned by scanMatchpointEntries).
Trait Implementations§
impl Copy for VlsnEntry
impl Eq for VlsnEntry
impl StructuralPartialEq for VlsnEntry
Auto Trait Implementations§
impl Freeze for VlsnEntry
impl RefUnwindSafe for VlsnEntry
impl Send for VlsnEntry
impl Sync for VlsnEntry
impl Unpin for VlsnEntry
impl UnsafeUnpin for VlsnEntry
impl UnwindSafe for VlsnEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more