pub struct RecoveredLedger { /* private fields */ }Expand description
RecoveredLedger
Proof that a ledger crossed physical recovery, current-format decoding, integrity validation and physical/logical commit-counter binding. Only this proof can feed declaration validation; a decoded ledger is a passive DTO.
Implementations§
Source§impl RecoveredLedger
impl RecoveredLedger
Sourcepub const fn ledger(&self) -> &AllocationLedger
pub const fn ledger(&self) -> &AllocationLedger
Borrow the recovered metadata, without granting open authority.
Sourcepub const fn physical_generation(&self) -> u64
pub const fn physical_generation(&self) -> u64
Return the checked physical commit counter.
Sourcepub const fn current_generation(&self) -> u64
pub const fn current_generation(&self) -> u64
Return the matching logical commit counter.
Trait Implementations§
Source§impl Clone for RecoveredLedger
impl Clone for RecoveredLedger
Source§impl Debug for RecoveredLedger
impl Debug for RecoveredLedger
impl Eq for RecoveredLedger
Source§impl PartialEq for RecoveredLedger
impl PartialEq for RecoveredLedger
impl StructuralPartialEq for RecoveredLedger
Auto Trait Implementations§
impl Freeze for RecoveredLedger
impl RefUnwindSafe for RecoveredLedger
impl Send for RecoveredLedger
impl Sync for RecoveredLedger
impl Unpin for RecoveredLedger
impl UnsafeUnpin for RecoveredLedger
impl UnwindSafe for RecoveredLedger
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