335 KiB
335 KiB
Crate Documentation
Version: 0.1.0
Format Version: 43
Module server
Modules
Module app_state
pub mod app_state { /* ... */ }
Types
Struct SocketioSetup
pub struct SocketioSetup {
pub socketio: smol::lock::RwLock<Option<socketioxide::SocketIo>>,
pub namespaces: smol::lock::RwLock<crate::socketio::namespaces::Namespaces>,
pub socket_queue_tx: smol::channel::Sender<(socketioxide::extract::SocketRef, std::sync::Arc<control_core::socketio::event::GenericEvent>)>,
pub socket_queue_rx: smol::channel::Receiver<(socketioxide::extract::SocketRef, std::sync::Arc<control_core::socketio::event::GenericEvent>)>,
}
Fields
| Name | Type | Documentation |
|---|---|---|
socketio |
smol::lock::RwLock<Option<socketioxide::SocketIo>> |
|
namespaces |
smol::lock::RwLock<crate::socketio::namespaces::Namespaces> |
|
socket_queue_tx |
smol::channel::Sender<(socketioxide::extract::SocketRef, std::sync::Arc<control_core::socketio::event::GenericEvent>)> |
|
socket_queue_rx |
smol::channel::Receiver<(socketioxide::extract::SocketRef, std::sync::A |