Module managed_sender
Expand description
Managed sender data, owner-thread state and its installed runtime.
The codec is inert: decoding bytes never establishes a durable receipt.
SenderRuntime is the only public door; it binds every child to a
durable parent step and releases it only after the parent’s commit.
Structs§
- Accept
Refusal - Refusal retains the original result custody for a later retry.
- Child
Commit - Borrowed exact commit input.
result_jsonis lent from the committed sender row; it is not a caller copy and must be stored byte-for-byte. - Child
Intent - The original immutable semantic request of one child. Current confirmation evidence is supplied per attempt and is never part of this identity.
- Child
Ticket - Inert correlation to one original child row. It confers no authority; every use is checked against the installed outbox instance and caller.
- Install
Refusal - Refusal retains the original committed private state.
- Managed
Attempt - Opaque request custody. Clone shares the original backing.
- Managed
Attempt Result - Opaque response custody. No public constructor or durable-success meaning.
- Native
Sender Outbox V1 - Inert validated view; the caller retains the original bytes.
- Parent
Committed - Parent
Receipt - Parent
Record - Parent
Step - One parent-owned step slot: the parent operation’s identity and the index of the step within it. The parent chooses and persists both.
- Recovery
- Sender
Caller - Exact caller scope derived by the host from its authenticated channel. Labels here are not authority; the receiver still checks the live caller.
- Sender
Runtime
Enums§
- Attempt
Kind - Outbox
Failure - Parent
Failure - Parent-owner refusal.
Uncertainmeans the owner’s durable outcome is unknown; the runtime treats it exactly like a refusal and retains the child. - Recovered
- Reply
- Sender
Error - Step
Start
Traits§
- Parent
Owner - The real durable owner of the parent operation.
Type Aliases§
- Continuation
- Continuation derivation from the exact committed child result.