Function start_server
Source pub async fn start_server<S: ServerStarter>(
server: S,
) -> Result<(), Box<dyn Error + Send + Sync>>
Expand description
Helper function to start any server that implements ServerStarter
Logs server startup information and handles server initialization.
§Arguments
server - Server instance implementing ServerStarter
§Returns
Result indicating success or failure of server startup