mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 08:34:12 +00:00
1 parent
eb60ab0b79
commit
8e1545b432
46 files changed
+1217
-72
No files matched your search
+14
@@ -130,6 +130,19 @@ pub enum DataControl {
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
#[serde(tag = "t", content = "c")]
|
||||
pub enum DataPortableService {
|
||||
Ping,
|
||||
Pong,
|
||||
ConnCount(Option<usize>),
|
||||
Mouse(Vec<u8>),
|
||||
Key(Vec<u8>),
|
||||
RequestStart,
|
||||
WillClose,
|
||||
CmShowElevation(bool),
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
#[serde(tag = "t", content = "c")]
|
||||
pub enum Data {
|
||||
@@ -187,6 +200,7 @@ pub enum Data {
|
||||
Language(String),
|
||||
Empty,
|
||||
Disconnected,
|
||||
DataPortableService(DataPortableService),
|
||||
}
|
||||
|
||||
#[tokio::main(flavor = "current_thread")]
|
||||
|
||||
Reference in new issue
Block a user