Skip to main content

Module notifications

Module notifications 

Source
Expand description

Recipient-aware notification dispatch with an explicit mail channel.

Structs§

AnonymousRecipient
An on-demand recipient with an explicit mail address.
NotificationDispatcher
Dispatches notifications through explicitly supplied channel dependencies.
NotificationFailed
A synchronous notification’s mail delivery failed.
NotificationMetadata
Non-content metadata for a notification channel delivery.
NotificationSending
Before a prepared notification is sent or enqueued. Stop cancels the channel.
NotificationSent
A synchronous notification was accepted by its mail transport.

Enums§

Channel
A supported notification delivery channel.
DispatchError
Failure to select, compose, route, or deliver a notification.

Traits§

MailRecipient
Explicit routing for mail notifications, independent of any user model.
Notification
Application-owned notification content and channel selection.

Type Aliases§

NotificationError
An application error encountered while selecting or composing a notification.