tray_wrapper/lib.rs
1//! The tray wrapper library is intended to make it simple to provide a GUI tray icon for a given running server
2//! process.
3//!
4//! This is to make it convient to start and monitor a process on Mac (other operating systems are supported
5//! on a best effort basis). MacOS makes it challenging to manage a server process WITHOUT a tray icon.
6
7/// The state of the running server process
8#[derive(Debug, Default)]
9pub enum ServerStatus {
10 #[default]
11 StartUp,
12 Running(String),
13 Stopped(String),
14 Error(String),
15}
16
17#[cfg(test)]
18mod tests {
19 //use super::*;
20}