server_manager/manager/
struct.rs

1use crate::*;
2
3/// Main structure for managing server processes.
4///
5/// Encapsulates all server management operations and holds necessary configuration.
6#[derive(Clone)]
7pub struct ServerManager<F> {
8    /// Configuration parameters for server management.
9    pub(crate) config: ServerManagerConfig,
10    /// Server function to be executed.
11    pub(crate) server_fn: F,
12}