Module match_replace

Module match_replace 

Expand description

Uri match and replace rules.

Structs§

UriMatchReplaceDomain
Replace or overwrite the existing Domain.
UriMatchReplaceFallthrough
Apply fallthrough to slices, arrays, tuples or vectors.
UriMatchReplaceNever
A UriMatchReplace which never matches.
UriMatchReplaceRule
A rule that matches a Uri against a simple wildcard pattern and, if it matches, produces a new Uri using a capture-aware formatter.
UriMatchReplaceRuleset
A Set of UriMatchReplaceRule, which is an optimised version of a generic UriMatchReplace slice impl.
UriMatchReplaceScheme
Replace or overwrite the existing Scheme.

Enums§

UriMatchError
Error (including NoMatch) returned by a UriMatchReplace::match_replace_uri call.

Traits§

TryIntoPattern
Private trait used by this module to easily create patterns from owned or static byte-like objects.
TryIntoUriFmt
Private trait used by this module to easily create Uri formatters from owned or static byte-like objects.
UriMatchReplace
A trait for types that can match and optionally replace (rewrite) Uri values.