bevy_tray_icon 0.3.0

Allows the use of tray-icon to manipulate the system tray.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Defines the library result and error.

use thiserror::Error;

/// The library result
pub type Result<V = ()> = std::result::Result<V, Error>;

/// The library error
#[derive(Debug, Eq, PartialEq, Error, Clone)]
pub enum Error {
    /// If the menu registered in the system tray is not found
    #[error("not found menu id: {0}")]
    NotFoundMenu(String),
}