Type Alias opendal::operator_futures::FuturePresignStat
source · pub type FuturePresignStat<F> = OperatorFuture<(OpStat, Duration), PresignedRequest, F>;
Expand description
Future that generated by Operator::presign_stat_with
.
Users can add more options by public functions provided by this struct.
Aliased Type§
struct FuturePresignStat<F> { /* private fields */ }
Implementations§
source§impl<F: Future<Output = Result<PresignedRequest>>> FuturePresignStat<F>
impl<F: Future<Output = Result<PresignedRequest>>> FuturePresignStat<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