mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
13 lines
276 B
Rust
13 lines
276 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
use super::vpn_state::VpnState;
|
|
|
|
/// Events that can be emitted by the service
|
|
#[derive(Debug, Serialize, Deserialize, Clone)]
|
|
pub enum WsEvent {
|
|
VpnState(VpnState),
|
|
ActiveGui,
|
|
/// External authentication data
|
|
AuthData(String),
|
|
}
|