Skip to main content

Module route

Module route 

Source
Expand description

Eval reply routing types.

A Route is inserted into App::pending_routes when a nomiscript form is submitted; drain_eval removes it on reply and calls deliver_reply with it. RouteCtx carries the per-request context needed to parse the reply correctly when the target view requires more than the wire frame alone.

Structs§

DraftLabels
A tested draft waiting for the labels of its accounts and commodities.
Route
Maps a pending eval reply id to its destination window (None: app or dialog level) and any parse context.

Enums§

FormOptionsSource
Which select columns a FormOptions reply populates.
RouteCtx
Per-reply context a routed eval reply needs to be parsed correctly.
ScriptRoute
The replies of the Scripts tab and the script forms.
TemplateRoute
The replies of the Templates tab and the template forms.