Type Alias FuturePresignWrite

Source
pub type FuturePresignWrite<F> = OperatorFuture<(WriteOptions, 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

Refer to options::WriteOptions::content_type for more details.

Source

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

Refer to options::WriteOptions::content_disposition for more details.

Source

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

Refer to options::WriteOptions::content_encoding for more details.

Source

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

Refer to options::WriteOptions::cache_control for more details.