MCPcopy Create free account
hub / github.com/deviceplug/btleplug / services

Method services

src/winrtble/peripheral.rs:377–383  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

375 }
376
377 fn services(&self) -> BTreeSet<Service> {
378 self.shared
379 .ble_services
380 .iter()
381 .map(|item| item.value().to_service())
382 .collect()
383 }
384
385 /// Returns true iff we are currently connected to the device.
386 async fn is_connected(&self) -> Result<bool> {

Callers

nothing calls this directly

Calls 3

iterMethod · 0.80
to_serviceMethod · 0.80
valueMethod · 0.80

Tested by

no test coverage detected