Skip to main content

ClaimFrontiersRestore

Struct ClaimFrontiersRestore 

Source
pub struct ClaimFrontiersRestore {
    pub conversation_id: ConversationId,
    pub active_identities: Vec<FrontierParticipant>,
    pub identity_slot_limit: u64,
    pub retained_floor: u128,
    pub retained_record_limit: u64,
    pub retained_records: Vec<RetainedCausalRecord>,
    pub active_marker_anchors: Vec<DeliverySeq>,
    pub historical_marker_deliveries: Vec<HistoricalMarkerDeliveryFactRestore>,
    pub historical_causal_facts: Vec<HistoricalCausalFactRestore>,
    pub sequence: SequenceClaimFrontierRestore,
    pub order: OrderClaimFrontierRestore,
    pub recovery_marker_delivery_seq: Option<DeliverySeq>,
}
Expand description

Public persisted input for restoring both coupled claim frontiers.

Fields§

§conversation_id: ConversationId

Owning conversation for every typed identity/history authority.

§active_identities: Vec<FrontierParticipant>

Raw current live identities; validation occurs after numeric frontiers.

§identity_slot_limit: u64

Signed permanent identity-slot cap I.

§retained_floor: u128

Current physical retained suffix floor.

§retained_record_limit: u64

Signed cap on retained record facts supplied by storage.

§retained_records: Vec<RetainedCausalRecord>

Typed retained direct-record facts used by provenance validation.

§active_marker_anchors: Vec<DeliverySeq>

Retained marker sequences that still own current credit/anchor state.

Released historical marker records remain in retained_records but are deliberately absent here. This bounded subset has at most one current owner per permanent participant and at most I entries.

§historical_marker_deliveries: Vec<HistoricalMarkerDeliveryFactRestore>

Immutable exact-epoch delivery facts for retained marker history.

Unlike active_marker_anchors, this list is bounded by retained history rather than identity count and may contain multiple facts for one participant.

§historical_causal_facts: Vec<HistoricalCausalFactRestore>

O(I) factual compacted terminal/exit rows retained by identities and tombstones.

§sequence: SequenceClaimFrontierRestore

Sequence-side persisted ownership.

§order: OrderClaimFrontierRestore

Order-side persisted ownership.

§recovery_marker_delivery_seq: Option<DeliverySeq>

Exact planned or retained marker selected by the sole recovery quartet.

This raw selector carries no participant or epoch authority. Restoration derives both solely from one fully validated marker candidate/record and, after binding fate, the exact typed DCR edge.

Trait Implementations§

Source§

impl Clone for ClaimFrontiersRestore

Source§

fn clone(&self) -> ClaimFrontiersRestore

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ClaimFrontiersRestore

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ClaimFrontiersRestore

Source§

impl PartialEq for ClaimFrontiersRestore

Source§

fn eq(&self, other: &ClaimFrontiersRestore) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ClaimFrontiersRestore

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.