Skip to main content

Module engine

Module engine 

Source
Expand description

Deterministic, per-route CLS.EEDI roles. Callers own clocks, MQTT and equipment.

Keep one engine per authorized target. Checkpoint a local device before issuing its requested equipment operation and again before publishing its completion. On restart, reconcile pending IDs with equipment. A lost acknowledgement can then be replayed without executing the operation again.

Structs§

Backend
Backend role for one authorized route. Callers schedule timeouts via Self::cancel.
Clock
Synchronized UTC and monotonic seconds sampled together by the application.
InstalledCertificate
Equipment evidence for one distinct DER certificate in a trust replacement.
LocalDevice
Device state for one authorized route.

Enums§

BackendEvent
Result of a verified publication received by the backend.
DeviceEvent
Effects produced by the local role.
EngineError
Application or protocol interaction errors. Display never contains payload data.
Outcome
Definitive or uncertain outcome returned by the equipment adapter.