See https://docs.rs/tokio/latest/tokio/sync/struct.Mutex.html\#which-kind-of-mutex-should-you-use (same applies for RwLock). We don't need an asynchronous Mutex/RwLock for data. |
||
---|---|---|
.. | ||
handlers | ||
gateway.rs | ||
mod.rs | ||
packet.rs | ||
session.rs |
See https://docs.rs/tokio/latest/tokio/sync/struct.Mutex.html\#which-kind-of-mutex-should-you-use (same applies for RwLock). We don't need an asynchronous Mutex/RwLock for data. |
||
---|---|---|
.. | ||
handlers | ||
gateway.rs | ||
mod.rs | ||
packet.rs | ||
session.rs |