run_server

Function run_server 

Source
pub async fn run_server(
    config: Config,
) -> Result<(), Box<dyn Error + Send + Sync>>
Expand description

Starts the HTTP server with the given configuration.

ยงErrors

This function returns an error if the TCP listener cannot be bound, or if the server fails to start.