pub struct ApplicationObservationRequest<'a> { /* private fields */ }Expand description
Exact separately reserved application recovery update for an unresolved mutation.
This consumes the observation lane, even when its opaque method reads status. It never reuses mutation allowance or supplies application settlement semantics.
Implementations§
Source§impl<'a> ApplicationObservationRequest<'a>
impl<'a> ApplicationObservationRequest<'a>
Sourcepub fn new(
plan: &'a OperationPlanRecord,
sequence: u64,
journal: &AttemptJournalRecord,
payload: &'a ApplicationIngressPayload,
) -> Result<Self, ApplicationIngressError>
pub fn new( plan: &'a OperationPlanRecord, sequence: u64, journal: &AttemptJournalRecord, payload: &'a ApplicationIngressPayload, ) -> Result<Self, ApplicationIngressError>
Bind exact recovery bytes to the independently reserved observation digest.
§Errors
Rejects changed authority/target, absent attempts or different reserved bytes.
Sourcepub const fn plan(&self) -> &OperationPlanRecord
pub const fn plan(&self) -> &OperationPlanRecord
Read the complete original mutation plan/context and inventory.
Sourcepub const fn payload(&self) -> &ApplicationIngressPayload
pub const fn payload(&self) -> &ApplicationIngressPayload
Read exact original recovery update fields.
Read original authority; its request still names the unresolved mutation.
Sourcepub const fn mutation_attempt(&self) -> u32
pub const fn mutation_attempt(&self) -> u32
Read the original unresolved mutation attempt.
Sourcepub const fn observation_attempt(&self) -> u32
pub const fn observation_attempt(&self) -> u32
Read the independently consumed observation attempt.
Sourcepub fn validate_journal(
&self,
journal: &AttemptJournalRecord,
) -> Result<(), ApplicationIngressError>
pub fn validate_journal( &self, journal: &AttemptJournalRecord, ) -> Result<(), ApplicationIngressError>
Recheck exact current observation identity without a dispatch permit.
§Errors
Rejects settled/replaced attempts, changed authority or different reserved bytes.