Expand description
Bounded resource/lifecycle adapter; not source authority or verified consumption.
Re-exports§
pub use sparse_workspace::SparsePageWorkspace;pub use sparse_workspace::WorkspaceReleaseError;pub use sparse_workspace::MAX_SPARSE_WORKSPACES;pub use recovery_source::RetainedRecoverySource;pub use recovery_source::SourceError;pub use recovery_source::SourceReleaseError;pub use recovery_source::MAX_RETAINED_SOURCES;
Modules§
- recovery_
source - Retained read-only source ownership in the existing canonical parent ledger. Drop closes files but never releases the retained canonical charge/table row.
- sparse_
workspace - Retained integrity-page memory charged by the existing canonical ledger.
There is no new root quota or forgeable numeric budget token. These bytes
outlive individual transfers; they are not charged again to StorageStage.
Parent integration must account table metadata via size_of::
, refuse close while workspace_live != 0, and report30-w desktop headroom.
Structs§
- Cold
Plan - Completion
Key - A callback key alone cannot reclaim a reservation or authorize a request.
- Proof
Storage Buffers - Typed proof scratch is borrowed and charged alongside ordinary storage scratch; no alignment cast or hidden sibling allocation is required.
- Request
Credit - Retained
Runtime - Runtime
Access - Runtime
Close Error - Runtime
Parents - Exclusive registration of real table BINDINGS, with no long-lived locks. One retained runtime initially. Independent ledger admissions remain possible.
- Storage
Buffers - Disjoint view of already charged caller storage. These bytes convey no integrity, persistence or disclosure permission on their own.
- Storage
JobTicket - Generation-fenced worker identity. Completion still requires the original
non-Copy
TransferTicket. Copy would allow a second complete/refund. - Storage
Jobs - Occupancy for submitted storage work. Charges stay on the original transfer.
- Storage
Stage - Scoped storage work. Drop returns borrows; it does not complete I/O or release reservations. The runtime/ticket remain live until explicit drain. The exclusive runtime borrow prevents concurrent completion/slot reuse. Hosts must sample current policy and time again before accepting effects; this guard does not manufacture those trusted inputs or authenticate bytes.
- Storage
Stage Control - Same live runtime and ticket; never an additional reservation or permit. Available only within a bounded synchronous StorageStage callback.
- Transfer
Requirements - Transfer
Runtime - Transfer
Spec - Transfer
Ticket
Enums§
Constants§
- MAX_
PLAN_ ROWS - MAX_
STORAGE_ JOBS - Matches the runtime hot-slot bound. Not an extra reservation table.