Module callback

Source
Expand description

Callback system for message handling

Structs§

MessageHandler
Message handler that combines both callbacks
MessageHandlerBuilder
Builder for creating message handlers with fluent API

Type Aliases§

ErrorCallback
Error handling callback Takes the original message and the error from the primary callback Called only when the primary callback returns an error
MessageCallback
Primary message processing callback Takes a message and returns Result<(), Error> for processing