Skip to main content

Module handler

Module handler 

Source
Expand description

The DeltaApiHandler trait and its generic implementation over a DeltaBackend.

One trait method per delta.yaml operation. The blanket impl<B: DeltaBackend<Cx>, Cx> DeltaApiHandler<Cx> for B contains all the Delta business logic — the managed-table contract, the updateTable action dispatcher (applied in the reference’s canonical order), loadTable commit-list construction, and the credential→config mapping — expressed purely in terms of the DeltaBackend port. A server that implements the port gets the handler, and thus the router, without writing any of that logic itself.

Structs§

GetConfigQuery
Query parameters for getConfig.

Traits§

DeltaApiHandler
Handler for the Delta REST API. One method per delta.yaml operation.