pub fn validate_snapshot_image(
image: &SnapshotImageRef,
prepared: &PreparedExactObject,
plaintext_hash: ObjectHash,
stored_hash: ObjectHash,
stored_size: u64,
expected_slot: String,
label: &str,
) -> Result<(), DbError>pub fn validate_snapshot_image(
image: &SnapshotImageRef,
prepared: &PreparedExactObject,
plaintext_hash: ObjectHash,
stored_hash: ObjectHash,
stored_size: u64,
expected_slot: String,
label: &str,
) -> Result<(), DbError>