[][src]Struct s3::request::Request

pub struct Request<'a> {
    pub bucket: &'a Bucket,
    pub path: &'a str,
    pub command: Command<'a>,
    pub datetime: DateTime<Utc>,
    pub sync: bool,
}

Fields

bucket: &'a Bucketpath: &'a strcommand: Command<'a>datetime: DateTime<Utc>sync: bool

Implementations

impl<'a> Request<'a>[src]

pub fn new<'b>(
    bucket: &'b Bucket,
    path: &'b str,
    command: Command<'b>
) -> Request<'b>
[src]

pub async fn response_future<'_>(&'_ self) -> Result<Response>[src]

pub async fn response_data_future<'_>(&'_ self) -> Result<(Vec<u8>, u16)>[src]

pub async fn response_data_to_writer_future<'b, '_, T: Write>(
    &'_ self,
    writer: &'b mut T
) -> Result<u16>
[src]

pub async fn tokio_response_data_to_writer_future<'b, '_, T: AsyncWriteExt + Unpin>(
    &'_ self,
    writer: &'b mut T
) -> Result<u16>
[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Request<'a>

impl<'a> Send for Request<'a>

impl<'a> Sync for Request<'a>

impl<'a> Unpin for Request<'a>

impl<'a> UnwindSafe for Request<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,