Skip to main content

Module router

Module router 

Source
Expand description

Resource path matching library.

Structs§

Path
Resource path match information
PathDeserializer
Serde deserializer for the dynamic segments of a matched Path.
PathIter
Iterator over matched segments, see Path::iter()
ResourceDef
ResourceDef describes an entry in resources table
ResourceId
Id of a matched resource.
Router
Resource router.
RouterBuilder
Router builder, see Router::builder().
RouterEntry
Registered resource, see RouterBuilder.

Traits§

IntoPattern
Helper trait for type that could be converted to path patterns.
Resource
A value that can be matched by a Router.
ResourcePath
A path source, e.g. a string or an urly::Url.