![]() |
MySQL 8.0.32
Source Code Documentation
|
codec for session_track::Gtid. More...
#include <classic_protocol_codec_session_track.h>
Public Types | |
using | value_type = session_track::Gtid |
using | __base = impl::EncodeBase< Codec< value_type > > |
Public Member Functions | |
Codec (value_type v, capabilities::value_type caps) | |
![]() | |
constexpr | EncodeBase (capabilities::value_type caps) |
constexpr size_t | size () const noexcept |
stdx::expected< size_t, std::error_code > | encode (const net::mutable_buffer &buffer) const |
constexpr capabilities::value_type | caps () const noexcept |
Static Public Member Functions | |
constexpr static uint8_t | type_byte () |
template<class ConstBufferSequence > | |
static stdx::expected< std::pair< size_t, value_type >, std::error_code > | decode (const ConstBufferSequence &buffers, capabilities::value_type caps) |
decode a session_track::Gtid from a buffer-sequence. More... | |
Public Attributes | |
friend | __base |
Private Member Functions | |
template<class Accumulator > | |
auto | accumulate_fields (Accumulator &&accu) const |
Private Attributes | |
const value_type | v_ |
codec for session_track::Gtid.
format:
payload for spec 0:
part of session_track::Field
using classic_protocol::Codec< session_track::Gtid >::__base = impl::EncodeBase<Codec<value_type> > |
|
inline |
|
inlineprivate |
|
inlinestatic |
decode a session_track::Gtid from a buffer-sequence.
buffers | input buffser sequence |
caps | protocol capabilities |
std::pair<size_t,session_track::Gtid> | on success, with bytes processed |
codec_errc::not_enough_input | not enough data to parse the whole message |
|
inlinestaticconstexpr |
friend classic_protocol::Codec< session_track::Gtid >::__base |
|
private |