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

Method get_app_info

ra-tls/src/traits.rs:42–49  ·  view source on GitHub ↗

Get app info

(&self)

Source from the content-addressed store, hash-verified

40
41 /// Get app info
42 fn get_app_info(&self) -> Result<Option<AppInfo>> {
43 let Some(app_info_bytes) = self.get_extension_bytes(PHALA_RATLS_APP_INFO)? else {
44 return Ok(None);
45 };
46 let app_info =
47 rmp_serde::from_slice(&app_info_bytes).context("Failed to decode app info as json")?;
48 Ok(app_info)
49 }
50}

Callers 1

handle_prpc_implFunction · 0.80

Implementers 3

cert.rsra-tls/src/cert.rs
rocket_helper.rsra-rpc/src/rocket_helper.rs
wavekv_sync.rsgateway/src/web_routes/wavekv_sync.rs

Calls 1

get_extension_bytesMethod · 0.80

Tested by 1

handle_prpc_implFunction · 0.64