(&self)
| 32 | type Adapter = Adapter; |
| 33 | |
| 34 | async fn adapters(&self) -> Result<Vec<Adapter>> { |
| 35 | let radios = Radio::GetRadiosAsync()?.into_future().await?; |
| 36 | radios |
| 37 | .into_iter() |
| 38 | .filter(|radio| radio.Kind() == Ok(RadioKind::Bluetooth)) |
| 39 | .map(|radio| Adapter::new(radio)) |
| 40 | .collect() |
| 41 | } |
| 42 | } |
nothing calls this directly
no test coverage detected