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