12 Commits (324a78803186c2c19916cb69969ff990cb09cfdc)

Author SHA1 Message Date
trivernis 324a788031
Change how replies are emitted
All events that are emitted inside a handler function are seen
as replies to the event that called the handler.
The FromPayloadBytes and ToPayloadBytes traits have been renamed
to FromPayload and IntoPayload. The IntoPayload trait passes the
context in its arguments to allow serializable structures to be
serialized by the default serializer.

Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 005a4bfc68
Remove generic bounds from Context, Namespace and EventEmitter
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 4fe9ed16db
Change all explicit protocols to generic trait bindings
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis d8cf7427da
Remove another tracing of the full events
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3b7dd510d8
Replace log with tracing crate
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 21d8f7afcd
Add namespaces from structs and restructure exports
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6cb1fb7eba
Add more logging
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 1921c2a704
Add namespaces
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 44ecd47536
Add reference message to error events
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 24b5da1933
Add event response handling
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 2ef6ba8ced
Extract handle_connection to an independent function
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5792c6757d
Add most ipc stuff
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago