Searched refs:from_str (Results 1 – 10 of 10) sorted by relevance
65 serde_json::from_str::<Value>(config.as_str()) in get_log_level_internal()79 serde_json::from_str::<Value>(config.as_str()) in is_hci_n_enabled_internal()90 Ok(s) => match serde_json::from_str::<Value>(s.as_str()) { in fix_config_file_format()115 let mut o = serde_json::from_str::<Value>(config.as_str()).ok()?; in modify_hci_n_enabled_internal()134 serde_json::from_str::<Value>(config.as_str()) in get_default_adapter()147 let mut cfg = serde_json::from_str::<Value>(config.as_str()).ok()?; in set_default_adapter()
24 def from_str(address: str) -> 'Address': member in Address
111 let json = serde_json::from_str::<Value>(contents.as_str())?; in load_config()318 let mut v = serde_json::from_str::<Value>(admin.get_config_string().as_str()) in get_sorted_allowed_services_from_config()
208 let socket_addr = SocketAddr::new(IpAddr::from_str(addr)?, port.parse()?); in to_socket_addr()
106 let type_signature = TypeSignature::from_str(sig)?; in cached_jni_call()
152 let type_signature = TypeSignature::from_str(SEND_REQUEST_MSIG) in send_request()
234 let (url, ip_addr) = match (Url::parse(url), IpAddr::from_str(&ip_addr)) { in doh_net_new()
270 Name::from_str("CN=Android Protected Virtual Machine Key").unwrap(), in check_certificate_for_client_vm()
604 let mut devices: Devices = serde_xml_rs::from_str(&xml) in get_assignable_devices()
328 let type_signature = TypeSignature::from_str(sig).map_err(|e| { in cached_jni_call()