userver: userver/ugrpc/client/qos.hpp Source File
Loading...
Searching...
No Matches
qos.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <chrono>
7#include <optional>
8
10
11USERVER_NAMESPACE_BEGIN
12
13namespace ugrpc::client {
14
18struct Qos final {
24 std::optional<int> attempts;
25
37 std::optional<std::chrono::milliseconds> timeout;
38};
39
40bool operator==(const Qos& lhs, const Qos& rhs) noexcept;
41
43
45
46} // namespace ugrpc::client
47
48USERVER_NAMESPACE_END