pub struct InitialEnrollmentClosureProjection { /* private fields */ }Expand description
Fully derived, persistable initial-enrollment closure projection.
Implementations§
Source§impl InitialEnrollmentClosureProjection
impl InitialEnrollmentClosureProjection
Sourcepub const fn resulting_closure_accounting(&self) -> ClosureAccounting
pub const fn resulting_closure_accounting(&self) -> ClosureAccounting
Returns the exact closure accounting to persist atomically on success.
Sourcepub const fn resulting_closure_state(&self) -> ClosureState
pub const fn resulting_closure_state(&self) -> ClosureState
Returns the exact typed clear-or-owed closure state.
Sourcepub const fn resulting_retained_charge(&self) -> ResourceVector
pub const fn resulting_retained_charge(&self) -> ResourceVector
Returns the retained closure charge S' after the Attached append.
Sourcepub const fn resulting_floor(&self) -> u128
pub const fn resulting_floor(&self) -> u128
Returns the reproducible physical floor F'.
Sourcepub const fn resulting_baseline(&self) -> WideResourceVector
pub const fn resulting_baseline(&self) -> WideResourceVector
Returns the exact resulting retained baseline B'.
Sourcepub const fn debt(&self) -> WideResourceVector
pub const fn debt(&self) -> WideResourceVector
Returns the exact resulting closure debt.
Sourcepub const fn remaining_recovery_claim(&self) -> ResourceVector
pub const fn remaining_recovery_claim(&self) -> ResourceVector
Returns K_remaining', which is full K while debt is owed and zero
when the projection remains clear.
Sourcepub const fn recovery_quartet(&self) -> RecoveryQuartetStatus
pub const fn recovery_quartet(&self) -> RecoveryQuartetStatus
Returns whether the projection endowed the coupled recovery quartet.
Sourcepub fn new_marker_candidates(&self) -> &[PlannedEnrollmentMarker]
pub fn new_marker_candidates(&self) -> &[PlannedEnrollmentMarker]
Returns the exact newly created marker candidates.
Sourcepub const fn required_capacity(&self) -> RequiredCapacityPlan
pub const fn required_capacity(&self) -> RequiredCapacityPlan
Returns the componentwise maximum across the complete base successor coverage used by stage 12.
Sourcepub const fn participant_index(&self) -> ParticipantIndex
pub const fn participant_index(&self) -> ParticipantIndex
Returns the permanent participant index reserved by this projection.
Sourcepub const fn identity_slots(&self) -> u64
pub const fn identity_slots(&self) -> u64
Returns the validated half-open identity domain used by the projection.
Sourcepub const fn binding_epoch(&self) -> BindingEpoch
pub const fn binding_epoch(&self) -> BindingEpoch
Returns the generation-one binding epoch used by the successor proof.
Sourcepub const fn current_order(&self) -> OrderLedger
pub const fn current_order(&self) -> OrderLedger
Returns the unchanged current order ledger consumed by stage 9.
Sourcepub const fn observer_progress(&self) -> u64
pub const fn observer_progress(&self) -> u64
Returns the hard observer progress checked by stage 11.
Sourcepub fn remaining_closure_decision(
&self,
request: &ClosureCheckedEnvelope,
) -> RemainingClosureDecision
pub fn remaining_closure_decision( &self, request: &ClosureCheckedEnvelope, ) -> RemainingClosureDecision
Runs the frozen stage-12 selector against the unchanged prestate.
Order, sequence, and observer admission must run before the caller exposes this decision.
Trait Implementations§
Source§impl Clone for InitialEnrollmentClosureProjection
impl Clone for InitialEnrollmentClosureProjection
Source§fn clone(&self) -> InitialEnrollmentClosureProjection
fn clone(&self) -> InitialEnrollmentClosureProjection
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more