LLFIO  v2.00
byte_io_handle.hpp File Reference

Provides a byte-orientated i/o handle. More...

#include "byte_io_multiplexer.hpp"

Classes

class  llfio_v2_xxx::byte_io_handle
 A handle to something capable of scatter-gather byte i/o. More...
 
class  llfio_v2_xxx::pollable_handle
 A handle type which can be supplied to poll(). More...
 

Namespaces

 llfio_v2_xxx
 The LLFIO namespace.
 

Functions

 llfio_v2_xxx::QUICKCPPLIB_BITFIELD_BEGIN_T (poll_what, uint8_t)
 What to poll. More...
 
result< size_t > llfio_v2_xxx::poll (span< poll_what > out, span< pollable_handle * > handles, span< const poll_what > query, deadline d={}) noexcept
 Polls a list of pollable handles awaiting a change in state. More...
 
byte_io_handle::io_result< byte_io_handle::buffers_type > llfio_v2_xxx::read (byte_io_handle &self, byte_io_handle::io_request< byte_io_handle::buffers_type > reqs, deadline d=deadline()) noexcept
 Read data from the open handle. More...
 
byte_io_handle::io_result< byte_io_handle::const_buffers_type > llfio_v2_xxx::write (byte_io_handle &self, byte_io_handle::io_request< byte_io_handle::const_buffers_type > reqs, deadline d=deadline()) noexcept
 Write data to the open handle. More...
 
byte_io_handle::io_result< byte_io_handle::size_type > llfio_v2_xxx::write (byte_io_handle &self, byte_io_handle::extent_type offset, std::initializer_list< byte_io_handle::const_buffer_type > lst, deadline d=deadline()) noexcept
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Detailed Description

Provides a byte-orientated i/o handle.