server_manager/manager/
struct.rs

1use crate::*;
2
3/// Title: ServerManager structure for managing the server process
4///
5/// Parameters:
6/// - None
7///
8/// Returns:
9/// - None
10///
11/// This structure encapsulates the server management operations and holds the user-provided configuration and the server function.
12pub struct ServerManager<F> {
13    pub(crate) config: ServerManagerConfig,
14    pub(crate) server_fn: F,
15}