Skip to main content

Module recovery

Module recovery 

Source
Expand description

Reconnect recovery for application operations (NET-05.16 partial).

Durable application (DurableApplied) and economic (EconomicReceipt) stages occupy a slot in RecoveryTable. Transport ACK and consumption are recorded separately and never count as accepted work or payment. Cancellation is owned by OperationTable; this module does not copy that kernel’s slot table. Packages remain open.

Re-exports§

pub use crate::net::peer::runtime::cancel::CancelEpoch;
pub use crate::net::peer::runtime::cancel::OperationHandle;
pub use crate::net::peer::runtime::cancel::OperationTable;

Structs§

RecoveryTable
Sixteen durable slots plus sixteen transport-observation slots. Copy-friendly.

Enums§

ReconnectOutcome
Reconnect decision. Transport-only delivery does not skip durable work.

Constants§

MAX_DURABLE
Occupied durable-receipt slots. A 17th distinct durable id is Capacity.

Functions§

reconnect
Reconnect attempt for id.
reconnect_may_duplicate_durable
Reconnect must not emit a second durable effect for a recorded id.
record_stage
Record that id reached stage.
stage_is_durable
Durable application and economic receipts only.
transport_delivery_is_accepted_work
Transport ACK / consumption never imply accepted work or payment.