userver: utest::DnsServerMock::DnsAnswer Struct Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
utest::DnsServerMock::DnsAnswer Struct Reference

Public Types

using AnswerData = std::variant< std::monostate, engine::io::Sockaddr, std::string >
 

Public Attributes

RecordType type {RecordType::kInvalid}
 
AnswerData data
 
int ttl {0}
 

Detailed Description

Definition at line 35 of file dns_server_mock.hpp.

Member Typedef Documentation

◆ AnswerData

using utest::DnsServerMock::DnsAnswer::AnswerData = std::variant<std::monostate, engine::io::Sockaddr, std::string>

Definition at line 36 of file dns_server_mock.hpp.

Member Data Documentation

◆ data

AnswerData utest::DnsServerMock::DnsAnswer::data

Definition at line 40 of file dns_server_mock.hpp.

◆ ttl

int utest::DnsServerMock::DnsAnswer::ttl {0}

Definition at line 41 of file dns_server_mock.hpp.

◆ type

RecordType utest::DnsServerMock::DnsAnswer::type {RecordType::kInvalid}

Definition at line 39 of file dns_server_mock.hpp.


The documentation for this struct was generated from the following file: