[][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>,
}

Fields

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

Methods

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

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

pub fn execute(&self) -> S3Result<(Vec<u8>, u32)>[src]

Auto Trait Implementations

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

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

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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<T> Borrow for T where
    T: ?Sized
[src]

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

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

impl<T> Same for T

type Output = T

Should always be Self

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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