pub async fn serve_axum_bare<S>(
port: u16,
state: S,
modules: OptionalModules,
max_connections: Option<usize>,
) -> Result<()>where
S: SubmitApi + CatchupApi + StateSignatureApi + ConfigApi + HotShotEventsApi + Clone + Send + Sync + 'static,Expand description
Serve the bare API (no query or status module): only the HotShot modules are available,
since the only app state is the HotShot handle. State-signature is always on; the rest follow
Options, matching Options::init_hotshot_modules.