Home
last modified time | relevance | path

Searched refs:from_str (Results 1 – 4 of 4) sorted by relevance

/system/extras/profcollectd/libprofcollectd/
Dconfig.rs85 fn from_str(s: &str) -> Result<Self, Self::Err> { in from_str() method
86 serde_json::from_str::<Config>(s) in from_str()
115 Ok(T::from_str(&config)?) in get_device_config()
125 Ok(T::from_str(&value)?) in get_property()
Dservice.rs145 .and_then(|s| Config::from_str(&s).ok()) in new()
/system/bt/gd/rust/hal/src/
Drootcanal_hal.rs69 Ok(SocketAddr::new(IpAddr::from_str(&self.address)?, self.port)) in to_socket_addr()
Dsnoop.rs71 fn from_str(s: &str) -> Result<Self, Self::Err> { in from_str() method