Skip to main content

Module server

Module server 

Source
Expand description

The rustev.remote/1 HTTP server (spec 009, 3.10 and 3.11): hosts any DecisionBackend behind POST /rustev/remote/1/{describe,infer,cancel}.

It forwards the attempt id and the budget it was told, maps the hosted backend’s AttemptReport to the response one to one, never runs an attempt id twice within its idempotency window, and does not start work once the budget has expired. It exposes no other provider’s wire format.

Structs§

Hosted
One hosted backend and what the server declares about it.
RemoteServer
The server. Clones share state.
ServerConfig
Server-wide terms and limits.
ServerHandle
A running accept loop; dropping it stops accepting.

Constants§

CANCEL_PATH
DESCRIBE_PATH
Paths of the three documents (3.11).
INFER_PATH