start

Function start 

Source
pub async fn start(
    app_state: GenericServerState,
    app_config: &impl GenericSetup,
    router: Router,
) -> MResult<(Pin<Box<dyn Future<Output = ()> + Send>>, ServerHandle)>
Expand description

Starts the server according to the startup variant provided.