8#include <userver/utils/flags.hpp>
10USERVER_NAMESPACE_BEGIN
50using ClusterHostTypeFlags = USERVER_NAMESPACE::utils::Flags<
ClusterHostType>;
52constexpr ClusterHostTypeFlags kClusterHostRolesMask{
56constexpr ClusterHostTypeFlags kClusterHostStrategyMask{
60std::string ToString(ClusterHostTypeFlags);
62logging::LogHelper& operator<<(
logging::LogHelper&, ClusterHostTypeFlags);
65 size_t operator()(ClusterHostType ht)
const noexcept {
66 return static_cast<size_t>(ht);