Files
scylla/db/operation_type.hh
Avi Kivity 0ae22a09d4 LICENSE: Update to version 1.1
Updated terms of non-commercial use (must be a never-customer).
2026-04-12 19:46:33 +03:00

27 lines
496 B
C++

/*
* Copyright (C) 2022-present ScyllaDB
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
*/
#pragma once
#include <cstdint>
#include <fmt/core.h>
namespace db {
enum class operation_type : uint8_t {
read = 0,
write = 1
};
}
template <> struct fmt::formatter<db::operation_type> {
constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }
auto format(db::operation_type, fmt::format_context& ctx) const -> decltype(ctx.out());
};