Trait gotham::router::builder::ReplacePathExtractor[][src]

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.

Associated Types

The type returned when replacing the PathExtractor with the target type.

Implementors