Lines Matching refs:Key

56     pub fn from_key(key: &Key) -> Result<Self> {  in from_key()
93 key_to_config: HashMap<Key, WeakConfig>,
100 fn get_config(&self, key: &Key) -> Option<Config> { in get_config()
129 pub struct Key { struct
144 pub fn get(&self, key: &Key) -> Result<Config> { in get() argument
181 Config::from_key(&Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: true }) in create_quiche_config()
186 Config::from_key(&Key { in create_quiche_config()
200 .get(&Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: true }) in shared_cache()
204 .get(&Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: true }) in shared_cache()
212 let key_a = Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: false }; in different_keys()
214 Key { cert_path: Some("a".to_string()), max_idle_timeout: 1000, enable_early_data: false }; in different_keys()
216 Key { cert_path: Some("a".to_string()), max_idle_timeout: 5000, enable_early_data: false }; in different_keys()
218 Key { cert_path: Some("a".to_string()), max_idle_timeout: 5000, enable_early_data: true }; in different_keys()
240 Key { cert_path: Some("a".to_string()), max_idle_timeout: 1000, enable_early_data: true }; in lifetimes()
242 Key { cert_path: Some("b".to_string()), max_idle_timeout: 1000, enable_early_data: true }; in lifetimes()
244 .get(&Key { cert_path: None, max_idle_timeout: 1000, enable_early_data: true }) in lifetimes()
292 Config::from_key(&Key { cert_path: None, max_idle_timeout: 10, enable_early_data: true }) in quiche_connect()