[−][src]Trait s3::request_trait::Request
Associated Types
Loading content...Required methods
#[must_use]pub fn response<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Response>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Response>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn response_data<'life0, 'async_trait>(
&'life0 self,
etag: bool
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, u16)>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
etag: bool
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, u16)>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn response_data_to_writer<'b, 'life0, 'async_trait, T: Write + Send>(
&'life0 self,
writer: &'b mut T
) -> Pin<Box<dyn Future<Output = Result<u16>> + Send + 'async_trait>> where
'b: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
writer: &'b mut T
) -> Pin<Box<dyn Future<Output = Result<u16>> + Send + 'async_trait>> where
'b: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn response_header<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(Self::HeaderMap, u16)>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(Self::HeaderMap, u16)>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn datetime(&self) -> DateTime<Utc>
[src]
pub fn bucket(&self) -> Bucket
[src]
pub fn command(&self) -> Command<'_>
[src]
pub fn path(&self) -> String
[src]
Provided methods
pub fn signing_key(&self) -> Result<Vec<u8>>
[src]
pub fn request_body(&self) -> Vec<u8>
[src]
pub fn long_date(&self) -> String
[src]
pub fn string_to_sign(&self, request: &str) -> String
[src]
pub fn host_header(&self) -> String
[src]
pub fn presigned(&self) -> Result<String>
[src]
pub fn presigned_authorization(
&self,
custom_headers: Option<&HeaderMap>
) -> Result<String>
[src]
&self,
custom_headers: Option<&HeaderMap>
) -> Result<String>
pub fn presigned_canonical_request(&self, headers: &HeaderMap) -> Result<String>
[src]
pub fn presigned_url_no_sig(
&self,
expiry: u32,
custom_headers: Option<&HeaderMap>
) -> Result<Url>
[src]
&self,
expiry: u32,
custom_headers: Option<&HeaderMap>
) -> Result<Url>
pub fn url(&self) -> Url
[src]
pub fn canonical_request(&self, headers: &HeaderMap) -> String
[src]
pub fn authorization(&self, headers: &HeaderMap) -> Result<String>
[src]
pub fn headers(&self) -> Result<HeaderMap>
[src]
Implementors
impl<'a> Request for Reqwest<'a>
[src]
type Response = Response
type HeaderMap = HeaderMap
pub fn command(&self) -> Command<'_>
[src]
pub fn path(&self) -> String
[src]
pub fn datetime(&self) -> DateTime<Utc>
[src]
pub fn bucket(&self) -> Bucket
[src]
pub fn response<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn response_data<'life0, 'async_trait>(
&'life0 self,
etag: bool
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, u16)>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
etag: bool
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, u16)>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn response_data_to_writer<'b, 'life0, 'async_trait, T: Write + Send>(
&'life0 self,
writer: &'b mut T
) -> Pin<Box<dyn Future<Output = Result<u16>> + Send + 'async_trait>> where
'b: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
writer: &'b mut T
) -> Pin<Box<dyn Future<Output = Result<u16>> + Send + 'async_trait>> where
'b: 'async_trait,
T: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
pub fn response_header<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(Self::HeaderMap, u16)>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(Self::HeaderMap, u16)>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,