mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-04 05:51:30 +03:00
cleanup server code + fix a lost update case (#191)
This commit is contained in:
committed by
GitHub
parent
6cd190191e
commit
39fed0344c
@@ -166,6 +166,8 @@ pub struct ClientState {
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub enum FrontendEvent {
|
||||
/// client state has changed, new state must be requested via [`FrontendRequest::GetState`]
|
||||
Changed(ClientHandle),
|
||||
/// a client was created
|
||||
Created(ClientHandle, ClientConfig, ClientState),
|
||||
/// no such client
|
||||
|
||||
Reference in New Issue
Block a user