MySQL 8.0.43
Source Code Documentation
classic_protocol::borrowable::message::server::Statistics< Borrowed > Class Template Reference

#include <classic_protocol_message.h>

Public Types

using string_type = std::conditional_t< Borrowed, std::string_view, std::string >
 

Public Member Functions

constexpr Statistics (string_type stats)
 construct a Statistics message. More...
 
constexpr string_type stats () const
 

Private Attributes

string_type stats_
 

Member Typedef Documentation

◆ string_type

template<bool Borrowed>
using classic_protocol::borrowable::message::server::Statistics< Borrowed >::string_type = std::conditional_t<Borrowed, std::string_view, std::string>

Constructor & Destructor Documentation

◆ Statistics()

template<bool Borrowed>
constexpr classic_protocol::borrowable::message::server::Statistics< Borrowed >::Statistics ( string_type  stats)
inlineconstexpr

construct a Statistics message.

Parameters
statsstatistics

Member Function Documentation

◆ stats()

template<bool Borrowed>
constexpr string_type classic_protocol::borrowable::message::server::Statistics< Borrowed >::stats ( ) const
inlineconstexpr

Member Data Documentation

◆ stats_

template<bool Borrowed>
string_type classic_protocol::borrowable::message::server::Statistics< Borrowed >::stats_
private

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