hyperlane/route/
type.rs

1use crate::*;
2
3/// A type alias for a hash map that stores captured route parameters.
4///
5/// The key is the parameter name and the value is the captured string.
6pub type RouteParams = HashMapXxHash3_64<String, String>;
7
8/// A type alias for a list of route segments.
9///
10/// This is used to represent a parsed route.
11pub type RouteSegmentList = Vec<RouteSegment>;
12
13/// A type alias for a list of path components.
14///
15/// This is often used for path components.
16pub(crate) type PathComponentList<'a> = Vec<&'a str>;