pub fn filter_hook(f: &Filter) -> Result<Hook, String>
One filter’s hook; an error if it isn’t supported, or any of its options isn’t.