|
Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
|
opendal_copier completes a long-running copy operation to completion in a blocking manner. opendal_copier repeatedly calls a copy operation until completion. More...
#include <opendal.h>
Public Attributes | |
| void * | inner |
opendal_copier completes a long-running copy operation to completion in a blocking manner. opendal_copier repeatedly calls a copy operation until completion.
Internally, each copy step performs a unit of work and reports progress. When copy completes, has_next returns false.
A "step" is one backend-defined unit of work. For backends that copy in multiple requests (e.g. multipart copy), one step typically copies one chunk; for backends that only support single-request copy, the entire copy happens in a single step. The reported byte count is best-effort: a step may report 0 bytes when the backend advances its state without a reliable byte delta.
Users can construct a copier by opendal_operator_copier or opendal_operator_copier_with.
| void* opendal_copier::inner |
The pointer to the opendal::blocking::Copier in the Rust code. Only used to check whether the copier is NULL.