Function start

Source
pub async fn start<T: Cog + 'static>() -> Result<()>
Expand description

Start the server with the given model.

ยงErrors

This function will return an error if the PORT environment variable is set but cannot be parsed, or if the server fails to start.