MySQL 9.0.0
Source Code Documentation
|
CRTP base for the Codec's encode part. More...
#include <classic_protocol_codec_base.h>
Public Member Functions | |
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 |
Private Attributes | |
const capabilities::value_type | caps_ |
CRTP base for the Codec's encode part.
derived classes must provide a 'accumulate_fields()' which maps each field by the Mapper and returns the result
used by .size() and .encode() as both have to process the same fields in the same order, just with different mappers
|
inlineexplicitconstexpr |
|
inlineconstexprnoexcept |
|
inline |
|
inlineconstexprnoexcept |
|
private |