MySQL 8.4.2
Source Code Documentation
net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken > Class Template Reference

#include <lower_layer_completion.h>

Public Types

using First_token_type = std::decay_t< FirstToken >
 
using Second_token_type = std::decay_t< SecondToken >
 

Public Member Functions

 LowerLayerWriteCompletionToken (const LowerLayerWriteCompletionToken &other)
 
 LowerLayerWriteCompletionToken (LowerLayerWriteCompletionToken &&other)
 
 LowerLayerWriteCompletionToken (FirstToken &token, SecondToken &second_token)
 
 LowerLayerWriteCompletionToken (FirstToken &&token, SecondToken &&second_token)
 
void operator() (std::error_code ec, size_t size) const
 

Private Types

using First_handler_type = std::conditional_t< std::is_same< FirstToken, First_token_type >::value, First_token_type &, First_token_type >
 
using Second_handler_type = std::conditional_t< std::is_same< SecondToken, Second_token_type >::value, Second_token_type &, Second_token_type >
 

Private Attributes

FirstToken first_token_
 
SecondToken second_token_
 

Member Typedef Documentation

◆ First_handler_type

template<typename FirstToken , typename SecondToken = NOP_token>
using net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::First_handler_type = std::conditional_t<std::is_same<FirstToken, First_token_type>::value, First_token_type &, First_token_type>
private

◆ First_token_type

template<typename FirstToken , typename SecondToken = NOP_token>
using net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::First_token_type = std::decay_t<FirstToken>

◆ Second_handler_type

template<typename FirstToken , typename SecondToken = NOP_token>
using net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::Second_handler_type = std::conditional_t<std::is_same<SecondToken, Second_token_type>::value, Second_token_type &, Second_token_type>
private

◆ Second_token_type

template<typename FirstToken , typename SecondToken = NOP_token>
using net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::Second_token_type = std::decay_t<SecondToken>

Constructor & Destructor Documentation

◆ LowerLayerWriteCompletionToken() [1/4]

template<typename FirstToken , typename SecondToken = NOP_token>
net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::LowerLayerWriteCompletionToken ( const LowerLayerWriteCompletionToken< FirstToken, SecondToken > &  other)
inline

◆ LowerLayerWriteCompletionToken() [2/4]

template<typename FirstToken , typename SecondToken = NOP_token>
net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::LowerLayerWriteCompletionToken ( LowerLayerWriteCompletionToken< FirstToken, SecondToken > &&  other)
inline

◆ LowerLayerWriteCompletionToken() [3/4]

template<typename FirstToken , typename SecondToken = NOP_token>
net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::LowerLayerWriteCompletionToken ( FirstToken &  token,
SecondToken &  second_token 
)
inline

◆ LowerLayerWriteCompletionToken() [4/4]

template<typename FirstToken , typename SecondToken = NOP_token>
net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::LowerLayerWriteCompletionToken ( FirstToken &&  token,
SecondToken &&  second_token 
)
inline

Member Function Documentation

◆ operator()()

template<typename FirstToken , typename SecondToken = NOP_token>
void net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::operator() ( std::error_code  ec,
size_t  size 
) const
inline

Member Data Documentation

◆ first_token_

template<typename FirstToken , typename SecondToken = NOP_token>
FirstToken net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::first_token_
mutableprivate

◆ second_token_

template<typename FirstToken , typename SecondToken = NOP_token>
SecondToken net::tls::LowerLayerWriteCompletionToken< FirstToken, SecondToken >::second_token_
mutableprivate

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