server_manager/manager/type.rs
1use crate::*;
2
3/// Error type for server management operations.
4pub type ServerManagerError = Box<dyn std::error::Error>;
5
6/// Result type for server management operations.
7pub type ServerManagerResult = Result<(), ServerManagerError>;
8
9/// Type alias for the hook functions.
10pub type Hook = Arc<dyn Fn() -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + Sync>;