MySQL 9.1.0
Source Code Documentation
|
template-less base-class of basic_socket_impl. More...
#include <socket.h>
Public Types | |
using | native_handle_type = impl::socket::native_handle_type |
using | executor_type = io_context::executor_type |
Public Member Functions | |
constexpr | basic_socket_impl_base (io_context &ctx) |
basic_socket_impl_base (const basic_socket_impl_base &rhs)=delete | |
basic_socket_impl_base & | operator= (const basic_socket_impl_base &rhs)=delete |
basic_socket_impl_base (basic_socket_impl_base &&rhs) noexcept | |
basic_socket_impl_base & | operator= (basic_socket_impl_base &&rhs) noexcept |
~basic_socket_impl_base ()=default | |
constexpr native_handle_type | native_handle () const noexcept |
constexpr bool | is_open () const noexcept |
constexpr bool | non_blocking () const |
stdx::expected< void, std::error_code > | non_blocking (bool mode) |
bool | native_non_blocking () const |
stdx::expected< void, std::error_code > | native_non_blocking (bool mode) |
executor_type | get_executor () noexcept |
stdx::expected< void, std::error_code > | close () |
stdx::expected< void, std::error_code > | cancel () |
stdx::expected< native_handle_type, std::error_code > | release () |
Protected Attributes | |
native_handle_type | native_handle_ {impl::socket::kInvalidSocket} |
bool | non_blocking_ {false} |
char | native_non_blocking_ |
io_context * | io_ctx_ |
template-less base-class of basic_socket_impl.
all of the parts of basic_socket_impl that are not dependent on Protocol
|
inlineexplicitconstexpr |
|
delete |
|
inlinenoexcept |
|
default |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inline |
|
inline |
|
inlineconstexpr |
|
inline |
|
inlinenoexcept |
|
delete |
|
inline |
|
protected |
|
protected |
|
mutableprotected |
|
protected |