Skip to main content

Module runtime

Module runtime 

Source
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§

ColdPlan
CompletionKey
A callback key alone cannot reclaim a reservation or authorize a request.
ProofStorageBuffers
Typed proof scratch is borrowed and charged alongside ordinary storage scratch; no alignment cast or hidden sibling allocation is required.
RequestCredit
RetainedRuntime
RuntimeAccess
RuntimeCloseError
RuntimeParents
Exclusive registration of real table BINDINGS, with no long-lived locks. One retained runtime initially. Independent ledger admissions remain possible.
StorageBuffers
Disjoint view of already charged caller storage. These bytes convey no integrity, persistence or disclosure permission on their own.
StorageJobTicket
Generation-fenced worker identity. Completion still requires the original non-Copy TransferTicket. Copy would allow a second complete/refund.
StorageJobs
Occupancy for submitted storage work. Charges stay on the original transfer.
StorageStage
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.
StorageStageControl
Same live runtime and ticket; never an additional reservation or permit. Available only within a bounded synchronous StorageStage callback.
TransferRequirements
TransferRuntime
TransferSpec
TransferTicket

Enums§

CancelReason
FinishOutcome
RuntimePoll
RuntimeProfile
TransferState

Constants§

MAX_PLAN_ROWS
MAX_STORAGE_JOBS
Matches the runtime hot-slot bound. Not an extra reservation table.