pub fn end() -> impl Filter<Extract = (), Error = Rejection> + Copy
Matches the end of a route.
use warp::Filter; // Matches '/' let hello = warp::path::end() .map(|| "Hello, World!");