Crate narthex_engine_trait[][src]

Expand description

This file describes the interface between an Engine and a user interface.

Enums

Events are requirements for an event (generated by the execution environment and passed to the engine). Events are like actions but generated by the app not the user interface.

type of execution environment e.g. PC, Android

Traits

ActionTrait is the requirements for an action (command sent from the user interface to the engine)

ConfigTrait is the requirements for the engine configuration (passed to the engine when it it created).

The EngineTrait defines what an engine must be able to do

ResponseTrait is the requirements for a response (sent from the engine to the user interface). One possible response is that shutdown is required