Lines Matching refs:DebugOption
38 pub log_pings: DebugOption<bool>,
40 pub debug_view_tag: DebugOption<String>,
43 pub source_tags: DebugOption<Vec<String>>,
59 log_pings: DebugOption::new(GLEAN_LOG_PINGS, get_bool_from_str, None), in new()
60 debug_view_tag: DebugOption::new(GLEAN_DEBUG_VIEW_TAG, Some, Some(validate_tag)), in new()
61 source_tags: DebugOption::new( in new()
73 pub struct DebugOption<T, E = fn(String) -> Option<T>, V = fn(&T) -> bool> { struct
86 impl<T, E, V> DebugOption<T, E, V> argument
248 let option: DebugOption<String> = DebugOption::new("GLEAN_TEST_1", Some, None); in debug_option_is_correctly_loaded_from_env()
261 let mut option: DebugOption<String> = in debug_option_is_correctly_validated_when_necessary()
262 DebugOption::new("GLEAN_TEST_2", Some, Some(validate)); in debug_option_is_correctly_validated_when_necessary()