pub fn default_worker_count(config: &ServeConfig) -> usizeExpand description
Returns the default worker count for a runtime configuration.
§Parameters
config: Input consumed bycrate::binaries::default_worker_count.
§Returns
Returns the computed value produced by crate::binaries::default_worker_count.
§Examples
ⓘ
let _result = pharos_native::binaries::default_worker_count(todo!());§Related
crate::binariesfor adjacent helpers that share the same runtime surface.