Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ is_empty
Method
is_empty
vmm/src/app.rs:108–113 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
106
107
impl GpuConfig {
108
pub fn is_empty(&self) -> bool {
109
if self.attach_mode.is_all() {
110
return false;
111
}
112
self.gpus.is_empty() && self.bridges.is_empty()
113
}
114
}
115
116
#[derive(Clone, Debug, Serialize, Deserialize)]
Callers
15
decode_vm_config_with_fallback
Function · 0.45
to_report_data_with_hash
Method · 0.45
decode_app_info_ex
Method · 0.45
verify_tdx_quote_with_events
Function · 0.45
decode_vm_config
Method · 0.45
verify_tdx
Method · 0.45
deserialize
Function · 0.45
read_all
Method · 0.45
update_certs
Function · 0.45
run_onboard_service
Function · 0.45
remove_cache
Method · 0.45
get_info
Method · 0.45
Calls
1
is_all
Method · 0.80
Tested by
6
decode_vm_config_with_fallback
Function · 0.36
to_report_data_with_hash
Method · 0.36
decode_app_info_ex
Method · 0.36
verify_tdx_quote_with_events
Function · 0.36
decode_vm_config
Method · 0.36
verify_tdx
Method · 0.36