pub enum ObjectLockIntegrity {
NotRequired,
ContentMd5Hex(String),
SdkChecksum,
}Expand description
How a replication PutObject that carries Object Lock parameters satisfies
the target-side rule that such a request must also carry Content-MD5 or
an x-amz-checksum-* header (AWS S3, MinIO and most compatible stores
enforce it; rustfs#7082).
Variants§
NotRequired
No Object Lock parameters, or an integrity header is already present.
ContentMd5Hex(String)
Send Content-MD5 computed from this hex MD5: the source ETag is the
MD5 of exactly the bytes going on the wire, so no body pass and no
change of payload framing is needed.
SdkChecksum
The source ETag is not the MD5 of the wire bytes (multipart layout, or an encrypted object whose ETag does not describe the plaintext); let the SDK compute a checksum instead.
Trait Implementations§
Source§impl Clone for ObjectLockIntegrity
impl Clone for ObjectLockIntegrity
Source§impl Debug for ObjectLockIntegrity
impl Debug for ObjectLockIntegrity
impl Eq for ObjectLockIntegrity
Source§impl PartialEq for ObjectLockIntegrity
impl PartialEq for ObjectLockIntegrity
impl StructuralPartialEq for ObjectLockIntegrity
Auto Trait Implementations§
impl Freeze for ObjectLockIntegrity
impl RefUnwindSafe for ObjectLockIntegrity
impl Send for ObjectLockIntegrity
impl Sync for ObjectLockIntegrity
impl Unpin for ObjectLockIntegrity
impl UnsafeUnpin for ObjectLockIntegrity
impl UnwindSafe for ObjectLockIntegrity
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.