pub enum S3ChecksumAlgorithm {
Crc32,
Crc32c,
Crc64Nvme,
Sha1,
Sha256,
}Expand description
Checksum algorithm to use for S3 write requests.
When unset, the AWS Rust SDK picks its own default for the x-amz-checksum-*
header on PutObject, UploadPart, and DeleteObjects. Some S3-compatible
services only accept a subset of algorithms; set this option to override the
SDK’s choice.
Variants§
Trait Implementations§
Source§impl Clone for S3ChecksumAlgorithm
impl Clone for S3ChecksumAlgorithm
impl Copy for S3ChecksumAlgorithm
Source§impl Debug for S3ChecksumAlgorithm
impl Debug for S3ChecksumAlgorithm
Source§impl<'de> Deserialize<'de> for S3ChecksumAlgorithm
impl<'de> Deserialize<'de> for S3ChecksumAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for S3ChecksumAlgorithm
impl Display for S3ChecksumAlgorithm
impl Eq for S3ChecksumAlgorithm
Source§impl PartialEq for S3ChecksumAlgorithm
impl PartialEq for S3ChecksumAlgorithm
Source§impl Serialize for S3ChecksumAlgorithm
impl Serialize for S3ChecksumAlgorithm
impl StructuralPartialEq for S3ChecksumAlgorithm
Auto Trait Implementations§
impl Freeze for S3ChecksumAlgorithm
impl RefUnwindSafe for S3ChecksumAlgorithm
impl Send for S3ChecksumAlgorithm
impl Sync for S3ChecksumAlgorithm
impl Unpin for S3ChecksumAlgorithm
impl UnsafeUnpin for S3ChecksumAlgorithm
impl UnwindSafe for S3ChecksumAlgorithm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more