Skip to main content

CommitCapsuleIndexSource

Trait CommitCapsuleIndexSource 

Source
pub trait CommitCapsuleIndexSource {
    // Required method
    fn updates_for_commit(
        &self,
        commit_seq: u64,
        capsule_object_id: ObjectId,
    ) -> Result<Vec<(PageNumber, VersionPointer)>>;
}
Expand description

Source of per-commit page-version updates recoverable from commit capsules.

Required Methods§

Source

fn updates_for_commit( &self, commit_seq: u64, capsule_object_id: ObjectId, ) -> Result<Vec<(PageNumber, VersionPointer)>>

Return all page updates encoded by a commit capsule.

§Errors

Returns an error when the capsule cannot be decoded or verified.

Implementors§