MySQL 9.1.0
Source Code Documentation
net::tls::SyncAction Class Reference

#include <ssl_io_completion.h>

Classes

struct  Unexpected
 

Public Types

using Handler_result = stdx::expected< Operation::Result, Unexpected >
 
using Handler_arguments = stdx::expected< size_t, std::error_code >
 

Public Member Functions

template<typename Layer , typename Handler >
auto recv (Layer *layer, FlexibleInputBuffer &input, Handler &&)
 
template<typename Layer , typename Handler >
auto send (Layer *layer, FlexibleOutputBuffer &output, Handler &&)
 
template<typename Handler >
Handler_result handle_write_result (Handler *handler)
 
template<typename Handler >
Handler_result handle_read_result (Handler *handler)
 

Public Attributes

Handler_arguments write_result_
 
Handler_arguments read_result_
 

Member Typedef Documentation

◆ Handler_arguments

using net::tls::SyncAction::Handler_arguments = stdx::expected<size_t, std::error_code>

◆ Handler_result

Member Function Documentation

◆ handle_read_result()

template<typename Handler >
Handler_result net::tls::SyncAction::handle_read_result ( Handler *  handler)
inline

◆ handle_write_result()

template<typename Handler >
Handler_result net::tls::SyncAction::handle_write_result ( Handler *  handler)
inline

◆ recv()

template<typename Layer , typename Handler >
auto net::tls::SyncAction::recv ( Layer *  layer,
FlexibleInputBuffer input,
Handler &&   
)
inline

◆ send()

template<typename Layer , typename Handler >
auto net::tls::SyncAction::send ( Layer *  layer,
FlexibleOutputBuffer output,
Handler &&   
)
inline

Member Data Documentation

◆ read_result_

Handler_arguments net::tls::SyncAction::read_result_

◆ write_result_

Handler_arguments net::tls::SyncAction::write_result_

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