server_manager/config/
struct.rs

1use crate::*;
2
3/// Configuration parameters for server management.
4///
5/// Holds all necessary configuration values for server operation.
6#[derive(Clone)]
7pub struct ServerManagerConfig {
8    /// Path to the PID file for process tracking.
9    pub(crate) pid_file: String,
10    /// An asynchronous function to be called before stopping the server.
11    pub(crate) stop_hook: Hook,
12    /// An asynchronous function to be called before starting the server.
13    pub(crate) start_hook: Hook,
14}