pub struct RetainedVerifiedMergeHistorySummary {
pub reclaim: RetainedReclaimState,
pub version: u32,
pub store_root_hash: ObjectHash,
pub causal_cut: BTreeMap<StoreCommitCoord, StoreBatchCommitRef>,
pub last_non_acknowledgement_commits: BTreeMap<AuthorStreamId, StoreBatchCommitRef>,
pub post_state: StoreDeviceStateRef,
pub membership_floor: MembershipCausalFloor,
pub registrations: BTreeMap<StoreDeviceId, ReferencedStoreDeviceRegistration>,
pub acknowledgements: BTreeMap<StoreDeviceId, RetainedAcknowledgementChain>,
pub membership_proofs: BTreeMap<StoreBatchCommitRef, RetainedMergeMembershipProof>,
pub pending_owner_promotions: BTreeMap<OwnerPromotionId, RetainedOwnerPromotionRequest>,
pub pending_device_joins: BTreeMap<StoreBatchCommitRef, DeviceJoinBootstrapClosure>,
}Fields§
§reclaim: RetainedReclaimState§version: u32§store_root_hash: ObjectHash§causal_cut: BTreeMap<StoreCommitCoord, StoreBatchCommitRef>§last_non_acknowledgement_commits: BTreeMap<AuthorStreamId, StoreBatchCommitRef>Latest meaningful publication in each author stream at this snapshot’s frontier. Canonical composition derives these exact references from verified commits; they classify acknowledgement-only advances without retaining those commits or authenticating arbitrary historical cuts.
post_state: StoreDeviceStateRef§membership_floor: MembershipCausalFloor§registrations: BTreeMap<StoreDeviceId, ReferencedStoreDeviceRegistration>§acknowledgements: BTreeMap<StoreDeviceId, RetainedAcknowledgementChain>§membership_proofs: BTreeMap<StoreBatchCommitRef, RetainedMergeMembershipProof>§pending_owner_promotions: BTreeMap<OwnerPromotionId, RetainedOwnerPromotionRequest>§pending_device_joins: BTreeMap<StoreBatchCommitRef, DeviceJoinBootstrapClosure>Implementations§
Source§impl RetainedVerifiedMergeHistorySummary
impl RetainedVerifiedMergeHistorySummary
pub fn pending_device_join_accepted_commit( &self, reference: &StoreBatchCommitRef, ) -> Result<Option<AcceptedStoreCommitPublication>, StoreProtocolError>
Sourcepub fn pending_device_join_artifacts(
&self,
) -> Result<BTreeSet<ExactObjectRef>, StoreProtocolError>
pub fn pending_device_join_artifacts( &self, ) -> Result<BTreeSet<ExactObjectRef>, StoreProtocolError>
Physical deletion stays unfinished while an accepted Join still consumes the original snapshot and the exact interval offered with it.
pub fn pending_device_join_snapshot_slots(&self) -> BTreeSet<ObjectSlot>
Source§impl RetainedVerifiedMergeHistorySummary
impl RetainedVerifiedMergeHistorySummary
pub fn validate_shape(&self) -> Result<(), StoreProtocolError>
pub fn validate_snapshot_baseline(&self) -> Result<(), StoreProtocolError>
Trait Implementations§
Source§impl Clone for RetainedVerifiedMergeHistorySummary
impl Clone for RetainedVerifiedMergeHistorySummary
Source§fn clone(&self) -> RetainedVerifiedMergeHistorySummary
fn clone(&self) -> RetainedVerifiedMergeHistorySummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RetainedVerifiedMergeHistorySummary
impl<'de> Deserialize<'de> for RetainedVerifiedMergeHistorySummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RetainedVerifiedMergeHistorySummary
impl PartialEq for RetainedVerifiedMergeHistorySummary
Source§fn eq(&self, other: &RetainedVerifiedMergeHistorySummary) -> bool
fn eq(&self, other: &RetainedVerifiedMergeHistorySummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RetainedVerifiedMergeHistorySummary
impl StructuralPartialEq for RetainedVerifiedMergeHistorySummary
Auto Trait Implementations§
impl Freeze for RetainedVerifiedMergeHistorySummary
impl RefUnwindSafe for RetainedVerifiedMergeHistorySummary
impl Send for RetainedVerifiedMergeHistorySummary
impl Sync for RetainedVerifiedMergeHistorySummary
impl Unpin for RetainedVerifiedMergeHistorySummary
impl UnsafeUnpin for RetainedVerifiedMergeHistorySummary
impl UnwindSafe for RetainedVerifiedMergeHistorySummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.