Files
tuliprox/frontend/src/model/event_message.rs
T
2025-08-07 19:46:49 +02:00

16 lines
455 B
Rust

use std::rc::Rc;
use shared::model::{ConfigType, PlaylistUpdateState, StatusCheck};
use crate::model::BusyStatus;
#[derive(Debug, Clone, PartialEq)]
pub enum EventMessage {
Unauthorized,
ServerError(String),
ServerStatus(Rc<StatusCheck>),
ActiveUser(usize, usize),
ActiveProvider(String, usize),
ConfigChange(ConfigType),
Busy(BusyStatus),
PlaylistUpdate(PlaylistUpdateState),
PlaylistUpdateProgress(String, String),
}