mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-07 18:01:28 +03:00
use slab instead of reinventing the wheel (#112)
This commit is contained in:
committed by
GitHub
parent
279e582698
commit
3e96b42067
@@ -106,15 +106,15 @@ pub enum FrontendEvent {
|
||||
/// the given client was activated
|
||||
Activated(ClientHandle, bool),
|
||||
/// a client was created
|
||||
Created(Client),
|
||||
Created(ClientHandle, Client),
|
||||
/// a client was updated
|
||||
Updated(Client),
|
||||
Updated(ClientHandle, Client),
|
||||
/// the client was deleted
|
||||
Deleted(ClientHandle),
|
||||
/// new port, reason of failure (if failed)
|
||||
PortChanged(u16, Option<String>),
|
||||
/// list of all clients, used for initial state synchronization
|
||||
Enumerate(Vec<(Client, bool)>),
|
||||
Enumerate(Vec<(ClientHandle, Client, bool)>),
|
||||
/// an error occured
|
||||
Error(String),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user