pub struct PreparedRuntimeSessionCommitResult { /* private fields */ }Expand description
Result of an atomic prepared session-boundary commit.
Implementations§
Source§impl PreparedRuntimeSessionCommitResult
impl PreparedRuntimeSessionCommitResult
Sourcepub fn committed(authority: RuntimeSessionAuthority) -> Self
pub fn committed(authority: RuntimeSessionAuthority) -> Self
Construct the result of a boundary that committed session authority.
Sourcepub const fn receipt_only(profile: RuntimeSessionPersistenceProfile) -> Self
pub const fn receipt_only(profile: RuntimeSessionPersistenceProfile) -> Self
Construct the result of a receipt/input-only boundary.
Sourcepub fn recovery(
authority: RuntimeSessionAuthority,
status: RecoveryCommitStatus,
) -> Self
pub fn recovery( authority: RuntimeSessionAuthority, status: RecoveryCommitStatus, ) -> Self
Construct the exact result of an atomic recovery boundary.
Sourcepub fn already_applied_exact(self) -> Self
pub fn already_applied_exact(self) -> Self
Reclassify a result after the store proved an exact durable retry.
Sourcepub fn already_applied_released_equivalent(self) -> Self
pub fn already_applied_released_equivalent(self) -> Self
Reclassify a result after one migration-authorized released-boundary adoption. Subsequent retries of the newly witnessed request are exact.
Sourcepub const fn profile(&self) -> RuntimeSessionPersistenceProfile
pub const fn profile(&self) -> RuntimeSessionPersistenceProfile
Representation that became authoritative in the atomic boundary.
Sourcepub const fn outcome(&self) -> PreparedRuntimeSessionCommitOutcome
pub const fn outcome(&self) -> PreparedRuntimeSessionCommitOutcome
Whether this invocation installed the boundary, proved an exact retry, or adopted an effect-equivalent released boundary.
Sourcepub const fn recovery_status(&self) -> Option<RecoveryCommitStatus>
pub const fn recovery_status(&self) -> Option<RecoveryCommitStatus>
Exact recovery convergence, when this was a recovery boundary.
Sourcepub const fn downstream_projection_required(&self) -> bool
pub const fn downstream_projection_required(&self) -> bool
Whether the caller must publish a separate compatibility projection after this commit.
Exact session authority committed in this boundary, or None when the
successful boundary carried receipt/input state only.
Trait Implementations§
Source§impl Clone for PreparedRuntimeSessionCommitResult
impl Clone for PreparedRuntimeSessionCommitResult
Source§fn clone(&self) -> PreparedRuntimeSessionCommitResult
fn clone(&self) -> PreparedRuntimeSessionCommitResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more