Type Alias opendal::operator_futures::FutureReader
source · pub type FutureReader<F> = OperatorFuture<(OpRead, OpReader), Reader, F>;
Expand description
Future that generated by Operator::read_with
or Operator::reader_with
.
Users can add more options by public functions provided by this struct.
§Notes
(OpRead, ())
is a trick to make sure FutureReader
is different from FutureRead
Aliased Type§
struct FutureReader<F> { /* private fields */ }
Implementations§
source§impl<F: Future<Output = Result<Reader>>> FutureReader<F>
impl<F: Future<Output = Result<Reader>>> FutureReader<F>
sourcepub fn concurrent(self, concurrent: usize) -> Self
pub fn concurrent(self, concurrent: usize) -> Self
Set the concurrent read task amount.