#[non_exhaustive]pub enum ChecksumSkip {
Disabled,
NoChecksum,
PartLevelChecksum,
InvalidChecksumHeader,
UnsupportedAlgorithm,
ErrorResponse,
}Expand description
Why a response’s checksum will not be validated.
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.
Disabled
The request did not enable checksum mode, and the client’s response_checksum_validation
is WhenRequired.
NoChecksum
The response has no checksum header for an algorithm the operation lists.
PartLevelChecksum
The checksum header holds a part-level value, which ends in -N.
InvalidChecksumHeader
The checksum header is present but is not valid base64.
UnsupportedAlgorithm
The response’s only checksum headers are for algorithms the client does not compute.
ErrorResponse
The response’s status is not 2xx, such as a 404 or a 503. Its body is never validated.
Trait Implementations§
Source§impl Clone for ChecksumSkip
impl Clone for ChecksumSkip
Source§fn clone(&self) -> ChecksumSkip
fn clone(&self) -> ChecksumSkip
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChecksumSkip
Source§impl Debug for ChecksumSkip
impl Debug for ChecksumSkip
impl Eq for ChecksumSkip
Source§impl PartialEq for ChecksumSkip
impl PartialEq for ChecksumSkip
impl StructuralPartialEq for ChecksumSkip
Auto Trait Implementations§
impl Freeze for ChecksumSkip
impl RefUnwindSafe for ChecksumSkip
impl Send for ChecksumSkip
impl Sync for ChecksumSkip
impl Unpin for ChecksumSkip
impl UnsafeUnpin for ChecksumSkip
impl UnwindSafe for ChecksumSkip
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<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 moreCreates a shared type from an unshared type.