MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / full_product_id

Method full_product_id

lspci/src/lib.rs:31–33  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

29
30impl Device {
31 pub fn full_product_id(&self) -> String {
32 format!("{}:{}", self.vendor_id, self.product_id)
33 }
34
35 pub fn in_use(&self) -> bool {
36 self.control.bus_master

Callers 2

list_devicesMethod · 0.80
list_gpusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected