MySQL 8.3.0
Source Code Documentation
net::io_context::async_op_impl< Op > Class Template Reference

async operation with callback. More...

Inheritance diagram for net::io_context::async_op_impl< Op >:
[legend]

Public Member Functions

 async_op_impl (Op &&op, native_handle_type fd, impl::socket::wait_type wt)
 
void run (io_context &) override
 
- Public Member Functions inherited from net::io_context::async_op
 async_op (native_handle_type fd, wait_type ev)
 
virtual ~async_op ()=default
 
void cancel ()
 
bool is_cancelled () const
 
native_handle_type native_handle () const
 
wait_type event () const
 

Private Attributes

Op op_
 

Additional Inherited Members

- Public Types inherited from net::io_context::async_op
using wait_type = impl::socket::wait_type
 

Detailed Description

template<class Op>
class net::io_context::async_op_impl< Op >

async operation with callback.

Constructor & Destructor Documentation

◆ async_op_impl()

template<class Op >
net::io_context::async_op_impl< Op >::async_op_impl ( Op &&  op,
native_handle_type  fd,
impl::socket::wait_type  wt 
)
inline

Member Function Documentation

◆ run()

template<class Op >
void net::io_context::async_op_impl< Op >::run ( io_context )
inlineoverridevirtual

Member Data Documentation

◆ op_

template<class Op >
Op net::io_context::async_op_impl< Op >::op_
private

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