warp::filters::header

Function optional2

source
pub(crate) fn optional2<T>() -> impl Filter<Extract = (Option<T>,), Error = Infallible> + Copy
where T: Header + Send + 'static,