Type Alias opendal::operator_futures::FutureRead
source · pub type FutureRead<F> = OperatorFuture<(OpRead, OpReader), Buffer, 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.
Aliased Type§
struct FutureRead<F> { /* private fields */ }
Implementations§
source§impl<F: Future<Output = Result<Buffer>>> FutureRead<F>
impl<F: Future<Output = Result<Buffer>>> FutureRead<F>
sourcepub fn if_none_match(self, v: &str) -> Self
pub fn if_none_match(self, v: &str) -> Self
Set the If-None-Match for this operation.
sourcepub fn range(self, range: impl RangeBounds<u64>) -> Self
pub fn range(self, range: impl RangeBounds<u64>) -> Self
Set the range header for this operation.
sourcepub fn concurrent(self, concurrent: usize) -> Self
pub fn concurrent(self, concurrent: usize) -> Self
Set the concurrent read task amount.