(&self)
| 85 | } |
| 86 | |
| 87 | async fn stop_scan(&self) -> Result<()> { |
| 88 | self.session |
| 89 | .stop_discovery_on_adapter(&self.adapter) |
| 90 | .await?; |
| 91 | Ok(()) |
| 92 | } |
| 93 | |
| 94 | async fn peripherals(&self) -> Result<Vec<Peripheral>> { |
| 95 | let devices = self.session.get_devices_on_adapter(&self.adapter).await?; |
no outgoing calls