MySQL 8.3.0
Source Code Documentation
classic_protocol::Codec< clone::client::Exit > Class Reference

#include <classic_protocol_codec_clone.h>

Inheritance diagram for classic_protocol::Codec< clone::client::Exit >:

Public Types

using value_type = clone::client::Exit
using __base = impl::EncodeBase< Codec< value_type > >

Public Member Functions

constexpr Codec (value_type v, capabilities::value_type caps)
- Public Member Functions inherited from classic_protocol::impl::EncodeBase< Codec< clone::client::Exit > >
constexpr EncodeBase (capabilities::value_type caps)
constexpr size_t size () const noexcept
stdx::expected< size_t, std::error_code > encode (net::mutable_buffer buffer) const
constexpr capabilities::value_type caps () const noexcept

Static Public Member Functions

constexpr static uint8_t cmd_byte () noexcept
template<class ConstBufferSequence >
static stdx::expected< std::pair< size_t, value_type >, std::error_code > decode (const net::const_buffer &buffer, capabilities::value_type caps)

Public Attributes

friend __base

Private Member Functions

template<class Accumulator >
constexpr auto accumulate_fields (Accumulator &&accu) const

Private Attributes

const value_type v_

Member Typedef Documentation

◆ __base

◆ value_type

Constructor & Destructor Documentation

◆ Codec()

constexpr classic_protocol::Codec< clone::client::Exit >::Codec ( value_type  v,
capabilities::value_type  caps 

Member Function Documentation

◆ accumulate_fields()

template<class Accumulator >
constexpr auto classic_protocol::Codec< clone::client::Exit >::accumulate_fields ( Accumulator &&  accu) const

◆ cmd_byte()

constexpr static uint8_t classic_protocol::Codec< clone::client::Exit >::cmd_byte ( )

◆ decode()

template<class ConstBufferSequence >
static stdx::expected< std::pair< size_t, value_type >, std::error_code > classic_protocol::Codec< clone::client::Exit >::decode ( const net::const_buffer buffer,
capabilities::value_type  caps 

Member Data Documentation

◆ __base

◆ v_

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