pub struct Runtime { /* private fields */ }Expand description
An exact-input runtime; no Verus serving path is modified by its construction.
Implementations§
Source§impl Runtime
impl Runtime
Sourcepub fn lookup_temporal(
&self,
job: &Job,
cancellation: &Cancellation,
) -> Result<Option<Result>, Error>
pub fn lookup_temporal( &self, job: &Job, cancellation: &Cancellation, ) -> Result<Option<Result>, Error>
Read a completed exact native check from this runtime’s trusted cache.
A miss, a cancelled lookup or an unavailable producer returns None.
The lookup authenticates the installed worker and validates its receipt.
It never launches a worker or publishes a receipt.
§Errors
Returns the same request admission errors as Self::execute.
Source§impl Runtime
impl Runtime
Sourcepub fn new(config: Config) -> Result<Self, Error>
pub fn new(config: Config) -> Result<Self, Error>
Construct the runtime with an existing installed solver and optional cache.
§Errors
Returns SAIL6101 for invalid configuration or malformed embedded pins.
Sourcepub fn capabilities(&self) -> Capabilities
pub fn capabilities(&self) -> Capabilities
Inspect actual installation readiness; this does not establish any theorem.
Sourcepub fn execute(
&self,
request: &Request,
cancellation: &Cancellation,
) -> Result<Response, Error>
pub fn execute( &self, request: &Request, cancellation: &Cancellation, ) -> Result<Response, Error>
Execute a fully admitted bounded batch, preserving caller order and metadata.
§Errors
Returns SAIL6101 before dispatch if any query or protocol version is invalid.
Worker infrastructure failures use SAIL6102 and never become solver answers.
Sourcepub fn execute_negotiated(
&self,
request: &Request,
cancellation: &Cancellation,
temporal_replay: bool,
) -> Result<Response, Error>
pub fn execute_negotiated( &self, request: &Request, cancellation: &Cancellation, temporal_replay: bool, ) -> Result<Response, Error>
Execute a request from a transport peer, respecting its temporal replay capability.
§Errors
Same admission and infrastructure failures as Self::execute.