Expand description
Stable execution ownership for warm decoder/router workers. A reservation is owned data, never a mutex/TLS guard, and may survive a scheduling yield.
Structs§
- Allocation
Cost - Execution
Child Capability - Same-thread capability for a synchronous descendant of active trusted work. It expires at that work’s normal completion or unwind. Child reservations cannot release the root owner’s exclusive reservation.
- Execution
Identity - Instance plus configuration generation. Opaque and independent of addresses, IFC express ids, allocation reuse, and identical bytes in another decoder.
- Execution
Lease - Exclusive product reservation. Send, not Clone: no borrow or thread-bound guard survives a poll. Drop releases admission on normal/error/panic paths. This does not prohibit direct router calls: the executor must keep those calls within its product owner while the reservation is live.
- Execution
Lease Id - Unique reservation identity; a later lease on the same owner is distinct.
- Execution
Owner - Private state of one execution owner. Move preserves identity; construction creates a distinct owner. Ordinary nested geometry calls remain permitted.
- Execution
Source Scope - Thread-bound publication of source-borrow authority. No lock is held while extension work runs. Nested decoder borrows restore the enclosing authority; out-of-order drops remove only their own entry.
- Execution
Work - Short-lived trusted execution scope. It borrows its reservation and is thread-bound; no active scope may cross a yield. Dropping it, including on panic, never acknowledges changed configuration. Normal executor completion must explicitly commit against the same live owner’s fresh identity.
- Source
Resource Context - Opaque shared resource account. The resource implementation supplies and recovers its concrete account; source authority is validated independently.
- Source
Stop Handle - Resource-only stop propagation along the actual active source-owner chain. Reuses existing work-epoch storage; no ambient kernel or diagnostic TLS moves.
Enums§
- Allocation
Class - Classification within one allowance, never a second resource limit.
- Execution
Lease Error - Why an execution lease, work scope or source borrow was refused. Admission/acceptance failures have no geometry or diagnostic side effects.
- Storage
Event
Traits§
- Allocation
Account - Implementations must allocate nothing, never panic, and consult no ambient account. Refund is cleanup-only and must validate category and total before subtracting. Admission commits cancellation/terminal checks under its ledger lock. Existing cumulative costs are never refunded. This is not source authority.
- Allocation
Observer - Captured terminal channels only. Implementations release their own locks before consulting another channel, and grant no decoder or execution rights.