fn module_config_resource_limit( resource: IndexWorkResource, limit: impl TryInto<u64>, observed: impl TryInto<u64>, ) -> CliError
Translate configured-module bounds into the runtime’s typed limit failure.