Skip to main content

run_server

Function run_server 

Source
pub async fn run_server(config: AppConfig) -> Result<()>
Expand description

ยงErrors

Returns an error if:

  • There was a critical error during initialization of the gears
  • Problems with the database or third-party services
  • An issue during runtime or shutdown

The TLS crypto provider is installed automatically as the first step of [init_procedure] (idempotent), so callers do not need to invoke super::init_crypto_provider explicitly.