Function run 
Source pub(crate) async fn run() -> Result<()>
Expand description
§Run Catalyst Gateway Service.
Runs the Poem based API.
§Arguments
settings: &DocsSetting - settings for docs
state: Arc<State> - the state
§Errors
Error::CannotRunService - cannot run the service
Error::EventDbError - cannot connect to the event db
Error::IoError - An IO error has occurred.