Expand description
In-app notification log.
§Structs
Notification— immutable notification value.NotificationLog— in-memory ring buffer (default capacity 500).NotificationLogHandle—Arc<RwLock<NotificationLog>>Tauri managed state.
§OCP contract
Capacity is settable via NotificationLog::with_capacity.
NotificationLog::push_with_broadcast accepts any EventEmitter impl, so
tests can pass a MockChannel and production code passes the AppHandle.
Adding a new Severity or NotificationCategory variant requires only a
new enum arm — no other match arms change.
Modules§
- os
- OS notification bridge.
Structs§
- Notification
- A single immutable notification entry stored in the log.
- Notification
Log - In-memory ring buffer for in-app notifications.
- Notification
LogHandle - Newtype around
Arc<RwLock<NotificationLog>>used as Tauri managed state.
Enums§
- Notification
Category - Classification that drives frontend placement policy (panel-only vs panel+toast vs panel+inline — consumed in task 22).
- Severity
- Severity level of a notification.