Expand description
Transient user-visible message produced by an Action’s result and rendered
in the Panel shell; stored as a JSON flash cookie with hardened attributes
that Topcoat flushes on error responses too (topcoat#408).
Structs§
- Live
Toast - Owns the signals that mount a
Notificationin place without navigation. - Live
Toaster Props - Reads the page’s
LiveToastsignals and mounts the toast in place when one is set. - Live
Toaster Props Builder - Typestate builder for
LiveToasterProps, created byLiveToasterProps::builder().build()becomes available once every required property has been set. - Notification
- A transient message shown after a mutation.
- live_
toaster - Reads the page’s
LiveToastsignals and mounts the toast in place when one is set.
Enums§
- Notification
Status - The kind of notification (status).
Functions§
- live_
toast - The live toast signals for this request (call once per page).
- render_
notification - Renders one notification as the toast, with
attrsmerged onto its surface. - set_
notification - Store a notification for the next request (flash).
- take_
notification - Take the notification from the request (if present) and clear it.