[][src]Module new_home_application::communication

The communication module contains all the structs used during communication with the core and/or the client at the end of the UI.

For communication with the UI in general the most important struct/type is the ActionMessage and SingleActionMessage

Structs

MethodCall

This contains the structure for a request to a method

MethodResult

This struct contains the structure for a method return It consists of a return code and a single message which can be an error, a success or an info message Is used together with serde for serialization and deserialization to and from JSON (mainly)

SingleActionMessage

The (shorter) ActionMessage

Type Definitions

ActionMessage

The ActionMessage