Module match_replace
Expand description
Uri match and replace rules.
Structs§
- UriMatch
Replace Domain - Replace or overwrite the existing
Domain. - UriMatch
Replace Fallthrough - Apply fallthrough to slices, arrays, tuples or vectors.
- UriMatch
Replace Never - A
UriMatchReplacewhich never matches. - UriMatch
Replace Rule - A rule that matches a
Uriagainst a simple wildcard pattern and, if it matches, produces a newUriusing a capture-aware formatter. - UriMatch
Replace Ruleset - A Set of
UriMatchReplaceRule, which is an optimised version of a genericUriMatchReplaceslice impl. - UriMatch
Replace Scheme - Replace or overwrite the existing
Scheme.
Enums§
- UriMatch
Error - Error (including
NoMatch) returned by aUriMatchReplace::match_replace_uricall.
Traits§
- TryInto
Pattern - Private trait used by this module to easily create patterns from owned or static byte-like objects.
- TryInto
UriFmt - Private trait used by this module to easily create Uri formatters from owned or static byte-like objects.
- UriMatch
Replace - A trait for types that can match and optionally replace (rewrite)
Urivalues.