Enum aws_smithy_http::label::EncodingStrategy
source · #[non_exhaustive]
pub enum EncodingStrategy {
Default,
Greedy,
}
Expand description
The encoding strategy used when parsing an httpLabel
.
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.
Default
The default strategy when parsing an httpLabel
. Only one path segment will be matched.
Greedy
When parsing an httpLabel
, this strategy will attempt to parse as many path segments as possible.
Trait Implementations§
source§impl Clone for EncodingStrategy
impl Clone for EncodingStrategy
source§fn clone(&self) -> EncodingStrategy
fn clone(&self) -> EncodingStrategy
Returns a copy 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 moresource§impl Debug for EncodingStrategy
impl Debug for EncodingStrategy
source§impl PartialEq<EncodingStrategy> for EncodingStrategy
impl PartialEq<EncodingStrategy> for EncodingStrategy
source§fn eq(&self, other: &EncodingStrategy) -> bool
fn eq(&self, other: &EncodingStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.