Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deviceplug/btleplug
/ peripheral
Method
peripheral
src/common/adapter_manager.rs:89–91 ·
view source on GitHub ↗
(&self, id: &PeripheralId)
Source
from the content-addressed store, hash-verified
87
}
88
89
pub fn peripheral(&self, id: &PeripheralId) -> Option<PeripheralType> {
90
self.peripherals.get(id).map(|val| val.value().clone())
91
}
92
}
Callers
1
main
Function · 0.45
Calls
2
value
Method · 0.80
get
Method · 0.65
Tested by
no test coverage detected