pub struct PendingBootstrapCommit { /* private fields */ }Expand description
PendingBootstrapCommit
Pending result of a successful generic allocation bootstrap commit.
The embedded crate::LedgerCommitStore has advanced, but this generic
layer does not own stable-memory IO. Persist the owning record first, then
call PendingBootstrapCommit::confirm_persisted to mint the allocation-open
capability.
Implementations§
Source§impl PendingBootstrapCommit
impl PendingBootstrapCommit
Sourcepub const fn ledger(&self) -> &AllocationLedger
pub const fn ledger(&self) -> &AllocationLedger
Borrow the committed logical ledger for diagnostics.
The persistence owner must write the owning record that contains the
mutated crate::LedgerCommitStore, not serialize this ledger DTO as a
replacement protocol.
Sourcepub const fn validated(&self) -> &ValidatedAllocations
pub const fn validated(&self) -> &ValidatedAllocations
Borrow the pre-commit validation result for diagnostics.
Sourcepub fn confirm_persisted(self) -> CommittedAllocations
pub fn confirm_persisted(self) -> CommittedAllocations
Confirm that the owning integration durably persisted this commit.
Calling this method before the stable-memory write succeeds violates the allocation protocol. The default runtime performs its stable-cell write before confirmation.