#[non_exhaustive]pub enum UploadChecksum {
Crc64nvme(Crc64nvme),
Crc32c(Crc32c),
Crc32(Crc32),
Sha1(Sha1),
Sha256(Sha256),
}Expand description
A checksum used by the object client for integrity checks on uploads.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl UploadChecksum
impl UploadChecksum
Sourcepub fn checksum_algorithm(&self) -> ChecksumAlgorithm
pub fn checksum_algorithm(&self) -> ChecksumAlgorithm
The checksum algorithm used to compute this checksum.
Trait Implementations§
Source§impl Clone for UploadChecksum
impl Clone for UploadChecksum
Source§fn clone(&self) -> UploadChecksum
fn clone(&self) -> UploadChecksum
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UploadChecksum
impl RefUnwindSafe for UploadChecksum
impl Send for UploadChecksum
impl Sync for UploadChecksum
impl Unpin for UploadChecksum
impl UnsafeUnpin for UploadChecksum
impl UnwindSafe for UploadChecksum
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