7#include <userver/utils/fast_pimpl.hpp>
8#include <userver/utils/statistics/fwd.hpp>
10USERVER_NAMESPACE_BEGIN
12namespace utils::statistics {
15enum class UnregisteringKind { kManual, kAutomatic };
22class [[nodiscard]] Entry
final {
26 Entry(
const Entry& other) =
delete;
27 Entry& operator=(
const Entry& other) =
delete;
28 Entry(Entry&& other)
noexcept;
29 Entry& operator=(Entry&& other)
noexcept;
32 void Unregister()
noexcept;
39 explicit Entry(
const Impl& impl)
noexcept;
41 utils::FastPimpl<Impl, 16, 8> impl_;