pub struct RecordAdmissionPrestate<'a, EF, V, LF> { /* private fields */ }Expand description
Complete unchanged durable prestate consumed by ordinary admission.
Order/sequence ledgers, retained rows, marker owners, and participant cursors
are intentionally absent as independent fields: the owned ClaimFrontiers
carries them as one validated authority.
Implementations§
Source§impl<'a, EF, V, LF> RecordAdmissionPrestate<'a, EF, V, LF>
impl<'a, EF, V, LF> RecordAdmissionPrestate<'a, EF, V, LF>
Sourcepub const fn new(
request: RecordAdmission,
presented_identity: PresentedIdentity<'a, EF, V, LF>,
binding: &'a BindingState,
receiving_binding_epoch: BindingEpoch,
connection_tracking: ConnectionConversationTracking,
connection_capacity: CapacityCounter,
closure_accounting: ClosureAccounting,
max_ordinary_record_charge: ResourceVector,
frontiers: ClaimFrontiers,
retained_charges: Vec<RetainedRecordCharge>,
observer_progress: DeliverySeq,
projection_limits: OrdinaryProjectionLimits,
) -> Self
pub const fn new( request: RecordAdmission, presented_identity: PresentedIdentity<'a, EF, V, LF>, binding: &'a BindingState, receiving_binding_epoch: BindingEpoch, connection_tracking: ConnectionConversationTracking, connection_capacity: CapacityCounter, closure_accounting: ClosureAccounting, max_ordinary_record_charge: ResourceVector, frontiers: ClaimFrontiers, retained_charges: Vec<RetainedRecordCharge>, observer_progress: DeliverySeq, projection_limits: OrdinaryProjectionLimits, ) -> Self
Captures the exact request, lookup/capacity state, complete validated frontiers, factual retained charges, observer state, and signed limits.
Sourcepub const fn request(&self) -> &RecordAdmission
pub const fn request(&self) -> &RecordAdmission
Borrows the exact payload-bearing request.
Sourcepub const fn binding(&self) -> &BindingState
pub const fn binding(&self) -> &BindingState
Borrows the unchanged authoritative binding state used by lookup.
Sourcepub const fn receiving_binding_epoch(&self) -> BindingEpoch
pub const fn receiving_binding_epoch(&self) -> BindingEpoch
Returns the unchanged receiving binding epoch.
Sourcepub const fn frontiers(&self) -> &ClaimFrontiers
pub const fn frontiers(&self) -> &ClaimFrontiers
Borrows the unchanged validated claim-frontier aggregate.
Sourcepub const fn connection_capacity(&self) -> CapacityCounter
pub const fn connection_capacity(&self) -> CapacityCounter
Returns the unchanged semantic connection-capacity counter.
Sourcepub const fn closure_accounting(&self) -> ClosureAccounting
pub const fn closure_accounting(&self) -> ClosureAccounting
Returns the unchanged closure-accounting snapshot.
Sourcepub const fn observer_progress(&self) -> DeliverySeq
pub const fn observer_progress(&self) -> DeliverySeq
Returns the unchanged hard-observer progress.
Sourcepub fn retained_charges(&self) -> &[RetainedRecordCharge]
pub fn retained_charges(&self) -> &[RetainedRecordCharge]
Borrows exact keyed durable charges for the retained suffix.