Type Alias opendal::operator_futures::FuturePresignRead
source · pub type FuturePresignRead<F> = OperatorFuture<(OpRead, Duration), PresignedRequest, F>;
Expand description
Future that generated by Operator::presign_read_with
.
Users can add more options by public functions provided by this struct.
Aliased Type§
struct FuturePresignRead<F> { /* private fields */ }
Implementations§
source§impl<F: Future<Output = Result<PresignedRequest>>> FuturePresignRead<F>
impl<F: Future<Output = Result<PresignedRequest>>> FuturePresignRead<F>
sourcepub fn override_content_disposition(self, v: &str) -> Self
pub fn override_content_disposition(self, v: &str) -> Self
Sets the content-disposition header that should be sent back by the remote read operation.
sourcepub fn override_cache_control(self, v: &str) -> Self
pub fn override_cache_control(self, v: &str) -> Self
Sets the cache-control header that should be sent back by the remote read operation.
sourcepub fn override_content_type(self, v: &str) -> Self
pub fn override_content_type(self, v: &str) -> Self
Sets the content-type header that should be sent back by the remote read operation.
sourcepub fn if_none_match(self, v: &str) -> Self
pub fn if_none_match(self, v: &str) -> Self
Set the If-None-Match of the option