Expand description
Parses routes into enums or structs.
Structs§
- Allow
Missing - Allows a section to match, providing a None value, if its contents are entirely missing, or starts with a ‘/’.
- Leading
Slash - Wrapper that requires that an implementor of Switch must start with a
/
. - Permissive
- Successfully match even when the captured section can’t be found.
Traits§
- Switch
- Derivable routing trait that allows instances of implementors to be constructed from Routes.
Type Aliases§
- Routable
- Alias to Switch.