pub struct RecoveryReport {
pub base_sequence: u64,
pub base_digest: [u8; 32],
pub transactions: Vec<RecoveredTransaction>,
pub ignored_uncommitted_transactions: u64,
pub duplicate_commits: u64,
pub truncated_tail_bytes: u64,
pub valid_bytes: u64,
pub last_sequence: u64,
pub last_digest: [u8; 32],
}Expand description
Evidence produced while opening and validating a segment.
Fields§
§base_sequence: u64Sequence immediately preceding this segment, or zero for the first segment.
base_digest: [u8; 32]Digest immediately preceding this segment, or all zero for the first segment.
transactions: Vec<RecoveredTransaction>Unique committed transactions in commit order.
ignored_uncommitted_transactions: u64Complete but uncommitted transaction attempts ignored during recovery.
duplicate_commits: u64Repeated commits with the same id and content, deduplicated during replay.
truncated_tail_bytes: u64Incomplete bytes removed from the physical tail.
valid_bytes: u64Length after any incomplete tail was removed.
last_sequence: u64Last complete frame sequence, including uncommitted attempts.
last_digest: [u8; 32]Digest of the last complete frame.
Trait Implementations§
Source§impl Clone for RecoveryReport
impl Clone for RecoveryReport
Source§fn clone(&self) -> RecoveryReport
fn clone(&self) -> RecoveryReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecoveryReport
impl Debug for RecoveryReport
Source§impl Default for RecoveryReport
impl Default for RecoveryReport
Source§fn default() -> RecoveryReport
fn default() -> RecoveryReport
Returns the “default value” for a type. Read more
impl Eq for RecoveryReport
Source§impl PartialEq for RecoveryReport
impl PartialEq for RecoveryReport
impl StructuralPartialEq for RecoveryReport
Auto Trait Implementations§
impl Freeze for RecoveryReport
impl RefUnwindSafe for RecoveryReport
impl Send for RecoveryReport
impl Sync for RecoveryReport
impl Unpin for RecoveryReport
impl UnsafeUnpin for RecoveryReport
impl UnwindSafe for RecoveryReport
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