pub struct ObjectMultipart { /* private fields */ }
Expand description

ObjectMultipart represent an ongoing multipart upload.

Process

create
    -> write
        -> complete to build a normal Object
        -> abort to cancel upload and delete all existing parts

Notes

Before ObjectMultipart::complete has been called, we can’t read any content from this multipart object.

Implementations§

Build a new MultipartObject.

Fetch the operator that used by this object.

Write a new ObjectPart with specified part number.

Complete multipart uploads with specified parts.

Notes
  • This operation will complete and finish this upload.
  • This operation will concat input parts to build a new object.
  • Input parts order is SENSITIVE, please make sure the order is correct.

Abort multipart uploads.

Notes
  • This operation will cancel this upload.
  • This operation will remove all parts that already uploaded.
  • This operation will return succeeded even when object or upload_id not exist.

Presign an operation for write multipart.

TODO

User need to handle the response by self which may differ for different platforms.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Applies the Compat adapter by value. Read more
Applies the Compat adapter by shared reference. Read more
Applies the Compat adapter by mutable reference. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more