xref: /DragonOS/tools/debugging/logmonitor/src/backend/event.rs (revision 7b32f5080f42bcbf7d2421013f3ea53c776a063c)
1*7b32f508SLoGin #[derive(Debug, Clone)]
2*7b32f508SLoGin pub enum BackendEvent {
3*7b32f508SLoGin     StartUp(StartUpEvent),
4*7b32f508SLoGin }
5*7b32f508SLoGin 
6*7b32f508SLoGin #[derive(Debug, Clone)]
7*7b32f508SLoGin #[allow(dead_code)]
8*7b32f508SLoGin pub struct StartUpEvent {
9*7b32f508SLoGin     started: bool,
10*7b32f508SLoGin     message: String,
11*7b32f508SLoGin     timestamp: std::time::Instant,
12*7b32f508SLoGin }
13