Trait gotham::router::builder::ReplacePathExtractor
source · pub trait ReplacePathExtractor<T>where
T: PathExtractor<Body>,{
type Output: DefineSingleRoute;
}
Expand description
Describes the operation of replacing a PathExtractor
on a route. This trait exists to remove
type clutter from the documentation of SingleRouteBuilder::with_path_extractor
.
Required Associated Types§
sourcetype Output: DefineSingleRoute
type Output: DefineSingleRoute
The type returned when replacing the PathExtractor
with the target type.