Expand description
The flash message lib for Salvo web framework.
Read more: https://salvo.rs
Structs§
- Cookie
Store cookie-store - CookieStore is a
FlashStoreimplementation that stores the flash messages in a cookie. - Flash
- A flash is a list of messages.
- Flash
Handler FlashHandleris a middleware for flash messages.- Flash
Message - A flash message.
- Session
Store session-store - SessionStore is a
FlashStoreimplementation that stores the flash messages in a session.
Enums§
- Flash
Level - Verbosity level of a flash message.
Constants§
- INCOMING_
FLASH_ KEY - Key for incoming flash messages in depot.
- OUTGOING_
FLASH_ KEY - Key for outgoing flash messages in depot.
Traits§
- Flash
Depot Ext - A trait for
Depotto get flash messages. - Flash
Store FlashStoreis for stores flash messages.
Functions§
- cookie_
store cookie-store - Helper function to create a
CookieStore. - session_
store session-store - Helper function to create a
SessionStore.