MySQL 9.1.0
Source Code Documentation
|
#include <classic_protocol_codec_binary.h>
Public Types | |
using | value_type = T |
using | base_ = impl::EncodeBase< TimeCodec< value_type > > |
Public Member Functions | |
constexpr | TimeCodec (value_type val, capabilities::value_type caps) |
Public Member Functions inherited from classic_protocol::impl::EncodeBase< TimeCodec< T > > | |
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 | |
static constexpr uint16_t | type () |
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 | val_ |
using classic_protocol::impl::TimeCodec< T >::base_ = impl::EncodeBase<TimeCodec<value_type> > |
using classic_protocol::impl::TimeCodec< T >::value_type = T |
|
inlineconstexpr |
|
inlineconstexprprivate |
|
inlinestatic |
|
inlinestaticconstexpr |
friend classic_protocol::impl::TimeCodec< T >::base_ |
|
private |