pub trait OsNotifyChannel {
// Required method
fn send(&self, title: &str, body: &str) -> Result<(), AppError>;
}Expand description
Abstraction over any channel that can send an OS-style notification.
AppHandleChannel wraps tauri::AppHandle for production.
MockOsChannel is provided for tests.