#[non_exhaustive]
pub enum UriPathNormalizationMode {
Enabled,
Disabled,
}
Expand description
Config value to specify whether the canonical request’s URI path should be normalized. https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
URI path normalization is performed based on https://www.rfc-editor.org/rfc/rfc3986.
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.
Enabled
Normalize the URI path according to RFC3986
Disabled
Don’t normalize the URI path (S3, for example, rejects normalized paths in some instances)
Trait Implementations§
source§impl Debug for UriPathNormalizationMode
impl Debug for UriPathNormalizationMode
source§impl PartialEq<UriPathNormalizationMode> for UriPathNormalizationMode
impl PartialEq<UriPathNormalizationMode> for UriPathNormalizationMode
source§fn eq(&self, other: &UriPathNormalizationMode) -> bool
fn eq(&self, other: &UriPathNormalizationMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UriPathNormalizationMode
impl StructuralEq for UriPathNormalizationMode
impl StructuralPartialEq for UriPathNormalizationMode
Auto Trait Implementations§
impl RefUnwindSafe for UriPathNormalizationMode
impl Send for UriPathNormalizationMode
impl Sync for UriPathNormalizationMode
impl Unpin for UriPathNormalizationMode
impl UnwindSafe for UriPathNormalizationMode
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.