[][src]Struct rusty_s3::actions::UploadPart

pub struct UploadPart<'a> { /* fields omitted */ }

Upload a part to a previously created multipart upload.

Every part must be between 5 MB and 5 GB in size, except for the last part.

The part must be uploaded via a PUT request, on success the server will return an ETag header which must be given to CompleteMultipartUpload in order to complete the upload.

A maximum of 10,000 parts can be uploaded to a single multipart upload.

The uploaded part will consume storage on S3 until the multipart upload is completed or aborted.

Find out more about UploadPart from the AWS API Reference

Implementations

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

pub fn new(
    bucket: &'a Bucket,
    credentials: Option<&'a Credentials>,
    object: &'a str,
    part_number: u16,
    upload_id: &'a str
) -> Self
[src]

Trait Implementations

impl<'a> Clone for UploadPart<'a>[src]

impl<'a> Debug for UploadPart<'a>[src]

impl<'a> S3Action for UploadPart<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for UploadPart<'a>[src]

impl<'a> Send for UploadPart<'a>[src]

impl<'a> Sync for UploadPart<'a>[src]

impl<'a> Unpin for UploadPart<'a>[src]

impl<'a> UnwindSafe for UploadPart<'a>[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.