Module ceviche::controller[][src]

Manages the service on the system.

Structs

Controller

Traits

ControllerInterface

Controllers implement this interface. They also need to implement the register() method; because the signature of service_main_wrapper depends on the system the method is not part of the interface.

Type Definitions

ServiceMainFn

Signature of the service main function. rx receives the events that are sent to the service. tx can be used to send custom events on the channel. args is the list or arguments that were passed to the service. When standalone_mode is true, the service main function is being called directly (outside of the system service support).