Trait gotham::router::builder::ReplaceQueryStringExtractor
[−]
[src]
pub trait ReplaceQueryStringExtractor<T> where
T: QueryStringExtractor, { type Output: DefineSingleRoute; }
Describes the operation of replacing a QueryStringExtractor
on a route. This trait exists to
remove type clutter from the documentation of SingleRouteBuilder::with_query_string_extractor
.
Associated Types
type Output: DefineSingleRoute
The type returned when replacing the QueryStringExtractor
with the target type.
Implementors
impl<'a, M, C, P, PE, QSE, NQSE> ReplaceQueryStringExtractor<NQSE> for SingleRouteBuilder<'a, M, C, P, PE, QSE> where
M: RouteMatcher + Send + Sync + 'static,
C: PipelineHandleChain<P> + Send + Sync + 'static,
P: RefUnwindSafe + Send + Sync + 'static,
PE: PathExtractor + Send + Sync + 'static,
QSE: QueryStringExtractor + Send + Sync + 'static,
NQSE: QueryStringExtractor + Send + Sync + 'static, type Output = SingleRouteBuilder<'a, M, C, P, PE, NQSE>;