pub fn filter_fn<F>(f: F) -> FnFilter<F>where F: Fn(&Context) -> bool + Send + Sync + Clone + 'static,
Creates a Filter from any closure with signature fn(&Context) -> bool.
Filter
fn(&Context) -> bool