Module tcp_server::config
source · Expand description
Global configuration for this crate.
You may change the configuration by calling set_config
function.
§Example
use tcp_server::config::{ServerConfig, set_config};
set_config(ServerConfig::default());
Structs§
- Global configuration.
Functions§
- A cheaper shortcut of
- Gets the global configuration.
- A cheaper shortcut of
- A cheaper shortcut of
- Sets the global configuration.