udp/server/struct.rs
1use crate::*;
2
3/// UDP server instance containing configuration and handler functions.
4///
5/// Provides thread-safe access to server state and operations.
6#[derive(Clone)]
7pub struct Server {
8 /// Server configuration settings.
9 pub(super) config: ArcRwLockServerConfig,
10 /// List of registered handler functions.
11 pub(super) func_list: ArcRwLockVecFuncBox,
12}