add counter to keep track of connected clients
This commit is contained in:
parent
c050d8bfb0
commit
3520118336
2 changed files with 5 additions and 5 deletions
|
|
@ -21,6 +21,7 @@ pub type Canvas = u8;
|
|||
pub type Coordinate = u16;
|
||||
|
||||
pub static COUNTER: AtomicU64 = AtomicU64::new(0);
|
||||
pub static CLIENTS: AtomicU64 = AtomicU64::new(0);
|
||||
|
||||
pub type AsyncResult<T> = Result<T, Box<dyn std::error::Error + Send + Sync>>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue