cat_gateway::service::poem_service

Function run

source
pub(crate) async fn run() -> Result<()>
Expand description

Run the Poem Service

This provides only the primary entrypoint to the service.

§Arguments

*settings: &DocsSetting - settings for docs

§Errors

  • Error::CannotRunService - cannot run the service
  • Error::EventDbError - cannot connect to the event db
  • Error::IoError - An IO error has occurred.