Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ in_use
Method
in_use
lspci/src/lib.rs:35–37 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
33
}
34
35
pub fn in_use(&self) -> bool {
36
self.control.bus_master
37
}
38
}
39
40
/// Runs `lspci` and parses the output into a vector of `Device` structs.
Callers
1
list_gpus
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected