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>

source

pub fn override_content_disposition(self, v: &str) -> Self

Sets the content-disposition header that should be send back by the remote read operation.

source

pub fn override_cache_control(self, v: &str) -> Self

Sets the cache-control header that should be send back by the remote read operation.

source

pub fn override_content_type(self, v: &str) -> Self

Sets the content-type header that should be send back by the remote read operation.

source

pub fn if_match(self, v: &str) -> Self

Set the If-Match of the option

source

pub fn if_none_match(self, v: &str) -> Self

Set the If-None-Match of the option