Skip to main content

Module handler

Module handler 

Source
Expand description

Delivery backend abstraction for incoming email messages.

Every destination that can receive an email - filesystem storage, a Redis queue, etc. - implements the MessageHandler trait defined here. The trait is object-safe so that the router can dispatch dynamically.

Enums§

HandlerError
Errors that can occur during message handling.

Traits§

MessageHandler
Trait for message handlers that process incoming emails.

Type Aliases§

HandlerFuture
Boxed future type for handler operations, enabling object safety.
HandlerResult
Result type for handler operations.