pub fn optional<T: Clone + Send + Sync + 'static>( ) -> impl Filter<Extract = (Option<T>,), Error = Infallible> + Copy
Get a previously set extension of the current route.
If the extension doesn’t exist, it yields None.
None