[][src]Function warp::filters::ext::get

pub fn get<T: Clone + Send + Sync + 'static>(
) -> impl Filter<Extract = (T,), Error = Rejection> + Copy

Get a previously set extension of the current route.

If the extension doesn't exist, this rejects with a MissingExtension.