Type Alias FuturePresignWrite

Source
pub type FuturePresignWrite<F> = OperatorFuture<(OpWrite, Duration), PresignedRequest, F>;
Expand description

Future that generated by Operator::presign_write_with.

Users can add more options by public functions provided by this struct.

Aliased Type§

struct FuturePresignWrite<F> { /* private fields */ }

Implementations§

Source§

impl<F: Future<Output = Result<PresignedRequest>>> FuturePresignWrite<F>

Source

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

Set the content type of option

Source

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

Set the content disposition of option

Source

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

Set the content encoding of the operation

Source

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

Set the content type of option