Skip to main content

Module source_authority

Module source_authority 

Source
Expand description

Canonical host-built source admission contracts.

This module presents the shared runtime owner directly. Build one source_authority::SourceAuthority in trusted host code, then pass it to source_authority::ReadEvalRequest::new or a source_authority::DynamicSourcePolicy evaluation method. Guest-language crates own syntax and semantics, not authority envelopes.

Structs§

DynamicSourcePolicy
Reusable policy for dynamic source evaluated through a named codec.
ReadEvalAdmission
The value-or-error and the single ledger event produced by one admission.
ReadEvalBroker
The one runtime admission gate for explicit diminished read-eval.
ReadEvalDecision
Data recorded for one explicit read-eval admission decision.
ReadEvalRequest
A single explicit, host-authorized read-eval admission request.
RequestOrigin
Open origin data for an explicit read-eval request.
SourceAuthority
Immutable host authority shared by requests that load or evaluate source.

Enums§

ReadEvalOutcome
The outcome recorded for one explicit read-eval admission request.
ReadEvalSource
Source accepted by the read-eval broker.