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

Method peripherals

src/common/adapter_manager.rs:73–78  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

71 }
72
73 pub fn peripherals(&self) -> Vec<PeripheralType> {
74 self.peripherals
75 .iter()
76 .map(|val| val.value().clone())
77 .collect()
78 }
79
80 // Only used on windows and macOS/iOS, so turn off deadcode so we don't get warnings on android/linux.
81 #[allow(dead_code)]

Callers 6

ensure_clean_stateFunction · 0.45
find_and_connectFunction · 0.45
find_lightFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 2

iterMethod · 0.80
valueMethod · 0.80

Tested by 1