8#include <interfaces/interfaces.h>
10#include <networksystem/inetworkmessages.h>
11#include <schemasystem/schemasystem.h>
23 return std::unexpected(
Error::Engine(std::format(
"could not find interface: {}", version)));
54 return std::unexpected(
required.error());
void Error(std::format_string< Args... > fmt, Args &&... args)
static Status Find(Iface *&target, InterfaceFactory factory, const char *version)
static std::string ReadFile(const std::filesystem::path &path)
void *(*)(const char *name, int *returnCode) InterfaceFactory
Result< EngineInterfaces > ResolveEngineInterfaces(const LoaderHandoff &start)
static void FindOptional(Iface *&target, InterfaceFactory factory, const char *version)
std::expected< void, Error > Status
std::expected< T, Error > Result
static Error Engine(std::string detail)