pub enum Command<'a> {
Show 24 variants HeadObject, CopyObject { from: &'a str, }, DeleteObject, DeleteObjectTagging, GetObject, GetObjectTorrent, GetObjectRange { start: u64, end: Option<u64>, }, GetObjectTagging, PutObject { content: &'a [u8], content_type: &'a str, multipart: Option<Multipart<'a>>, }, PutObjectTagging { tags: &'a str, }, ListMultipartUploads { prefix: Option<&'a str>, delimiter: Option<&'a str>, key_marker: Option<String>, max_uploads: Option<usize>, }, ListObjects { prefix: String, delimiter: Option<String>, marker: Option<String>, max_keys: Option<usize>, }, ListObjectsV2 { prefix: String, delimiter: Option<String>, continuation_token: Option<String>, start_after: Option<String>, max_keys: Option<usize>, }, GetBucketLocation, PresignGet { expiry_secs: u32, custom_queries: Option<HashMap<String, String>>, }, PresignPut { expiry_secs: u32, custom_headers: Option<HeaderMap>, }, PresignPost { expiry_secs: u32, post_policy: String, }, PresignDelete { expiry_secs: u32, }, InitiateMultipartUpload { content_type: &'a str, }, UploadPart { part_number: u32, content: &'a [u8], upload_id: &'a str, }, AbortMultipartUpload { upload_id: &'a str, }, CompleteMultipartUpload { upload_id: &'a str, data: CompleteMultipartUploadData, }, CreateBucket { config: BucketConfiguration, }, DeleteBucket,
}

Variants

HeadObject

CopyObject

Fields

from: &'a str

DeleteObject

DeleteObjectTagging

GetObject

GetObjectTorrent

GetObjectRange

Fields

start: u64
end: Option<u64>

GetObjectTagging

PutObject

Fields

content: &'a [u8]
content_type: &'a str
multipart: Option<Multipart<'a>>

PutObjectTagging

Fields

tags: &'a str

ListMultipartUploads

Fields

prefix: Option<&'a str>
delimiter: Option<&'a str>
key_marker: Option<String>
max_uploads: Option<usize>

ListObjects

Fields

prefix: String
delimiter: Option<String>
marker: Option<String>
max_keys: Option<usize>

ListObjectsV2

Fields

prefix: String
delimiter: Option<String>
continuation_token: Option<String>
start_after: Option<String>
max_keys: Option<usize>

GetBucketLocation

PresignGet

Fields

expiry_secs: u32
custom_queries: Option<HashMap<String, String>>

PresignPut

Fields

expiry_secs: u32
custom_headers: Option<HeaderMap>

PresignPost

Fields

expiry_secs: u32
post_policy: String

PresignDelete

Fields

expiry_secs: u32

InitiateMultipartUpload

Fields

content_type: &'a str

UploadPart

Fields

part_number: u32
content: &'a [u8]
upload_id: &'a str

AbortMultipartUpload

Fields

upload_id: &'a str

CompleteMultipartUpload

Fields

upload_id: &'a str

CreateBucket

Fields

DeleteBucket

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

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

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.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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