Async Reader is designed to read data from a specific path in an asynchronous manner.
More...
#include <opendal_async.hpp>
|
using | ReadFuture = opendal::ffi::async::RustFutureRead |
|
Async Reader is designed to read data from a specific path in an asynchronous manner.
It provides streaming read operations with range support.
◆ ReadFuture
◆ Reader() [1/3]
opendal::async::Reader::Reader |
( |
const Reader & |
| ) |
|
|
delete |
◆ Reader() [2/3]
opendal::async::Reader::Reader |
( |
Reader && |
other | ) |
|
|
noexcept |
◆ ~Reader()
opendal::async::Reader::~Reader |
( |
| ) |
|
|
noexcept |
◆ Reader() [3/3]
opendal::async::Reader::Reader |
( |
size_t |
reader_id | ) |
|
|
explicitnoexcept |
◆ operator=() [1/2]
Reader & opendal::async::Reader::operator= |
( |
const Reader & |
| ) |
|
|
delete |
◆ operator=() [2/2]
Reader & opendal::async::Reader::operator= |
( |
Reader && |
other | ) |
|
|
noexcept |
◆ read()
ReadFuture opendal::async::Reader::read |
( |
uint64_t |
start, |
|
|
uint64_t |
len |
|
) |
| |
Read data from the specified range.
- Parameters
-
start | Start offset in bytes |
len | Number of bytes to read |
- Returns
- Future that resolves to the read data
◆ Operator
The documentation for this class was generated from the following file: