#[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 From<bool> for UriPathNormalizationMode
impl From<bool> for UriPathNormalizationMode
source§impl PartialEq for UriPathNormalizationMode
impl PartialEq for UriPathNormalizationMode
impl Eq for UriPathNormalizationMode
impl StructuralPartialEq for UriPathNormalizationMode
Auto Trait Implementations§
impl Freeze for UriPathNormalizationMode
impl RefUnwindSafe for UriPathNormalizationMode
impl Send for UriPathNormalizationMode
impl Sync for UriPathNormalizationMode
impl Unpin for UriPathNormalizationMode
impl UnwindSafe for UriPathNormalizationMode
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> 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>
Creates a shared type from an unshared type.