mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-20 23:02:34 +02:00
16 lines
455 B
Rust
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),
|
|
} |