Skip to main content

liminal_protocol/outcome/
mod.rs

1//! Participant outcomes that are deliberately outside the network registry.
2//!
3//! Semantic wire outcomes are re-exported from [`crate::wire`]. Local SDK,
4//! startup/configuration, accepted-socket, and internal-recovery outcomes live
5//! here because the frozen contract explicitly excludes them from the stable
6//! `0x0100..=0x0124` server registry.
7//!
8//! `docs/design/LP-EXTRACTION-GOAL.md` Fix 2 removes the fixed occurrence-array
9//! machinery. Consequently the occurrence-array-only retention and corruption
10//! reason arms are intentionally absent from the startup/internal enums below.
11
12mod internal;
13mod keepalive;
14mod local;
15mod parking;
16mod startup;
17
18#[cfg(test)]
19mod internal_tests;
20#[cfg(test)]
21mod keepalive_tests;
22#[cfg(test)]
23mod local_tests;
24#[cfg(test)]
25mod parking_tests;
26#[cfg(test)]
27mod startup_tests;
28
29pub use internal::{
30    BindingRecoveryCommitted, BindingRecoveryFinalization, CandidatePhase, ClaimCounter,
31    ParticipantStateCorrupt, ParticipantStateCorruptReason, UncleanServerRestartCause,
32};
33pub use keepalive::{
34    AcceptedSocketKeepaliveReason, KeepaliveCertificationFailed, KeepaliveField, KeepaliveOption,
35    KeepalivePhase, KeepaliveReadbackMismatch, NumericKeepaliveOption, PlatformName,
36    StartupKeepaliveReason,
37};
38pub use local::{
39    CredentialRecoveryLost, ParkOrderCounter, ReconnectDelayResult, ReconnectRequiredEvent,
40    ReconnectState, RecordAdmissionOperation, RecordAdmissionUnknown,
41    SdkObserverParkCapacityExceeded, SdkParkOrderExhausted, SdkParticipantRequestTooLarge,
42};
43pub use parking::{
44    CheckedMultiplyOverflow, CheckedOperation, HandshakeSizeOperands, ParkingLimitField,
45    ParkingShapeViolation, ParticipantParkingConfigurationInvalid,
46    ParticipantRecoveryHandshakeTooLarge, RecoveryHandshakeDimension,
47    SdkParkingCapacityIncompatible,
48};
49pub use startup::{
50    CapabilityLimitField, ConnectionIncarnationExhausted,
51    ParticipantCapabilityConfigurationInvalid, ParticipantRetentionCapacityInvalid,
52};
53
54pub use crate::wire::{
55    AckCommitted, AckGap, AckNoOp, AckRegression, AttachBound, AttachMarkerProof,
56    AttemptTokenBodyConflict, BindingRequiredEnvelope, BindingStateView, ClosureCapacityReason,
57    ClosureCheckedEnvelope, ClosureRefusalReason, ClosureSnapshot, CommonStaleAuthorityEnvelope,
58    ConnectionConversationBindingOccupied, ConnectionConversationCapacityExceeded,
59    ConversationOrderExhausted, ConversationSequenceExhausted, DetachCommitted, DetachInProgress,
60    DetachStaleAuthority, DetachedCause, DiedCause, EnrollBound, EnrollmentKnown,
61    EnrollmentReceiptCapacityScope, IdentityCapacityExceeded, InvalidObserverEpoch,
62    InvalidObserverEpochList, LeaveCommitted, LeaveStaleAuthority, MarkerAckCommitted,
63    MarkerAckProof, MarkerClosureCapacityExceeded, MarkerMismatch, MarkerMismatchBody,
64    MarkerNotDelivered, MarkerProofRequest, NoBinding, ObserverBackpressure,
65    ObserverBackpressureState, ObserverProgressStatus, ObserverRecoveryAccepted,
66    OrderAllocatingEnvelope, ParticipantDelivery, ParticipantRecord, ParticipantReferenceEnvelope,
67    ParticipantTransportRejected, ParticipantUnknown, ReceiptCapacityExceeded, ReceiptExpired,
68    ReceiptReplay, RecordCommitted, RecordTooLarge, Retired, SequenceAllocatingEnvelope,
69    SequenceBudget, ServerPush, ServerValue, StaleAuthority, StaleOrUnknownReceipt,
70    TerminalizedDetachCell, TransportRejectionReason,
71};