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

Method fmt

gateway/src/cert_store.rs:94–106  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

92
93impl fmt::Debug for CertStore {
94 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
95 let exact_domains: Vec<_> = self.exact_certs.keys().cloned().collect();
96 let wildcard_domains: Vec<_> = self
97 .wildcard_certs
98 .keys()
99 .map(|k| format!("*.{}", k))
100 .collect();
101
102 f.debug_struct("CertStore")
103 .field("exact_domains", &exact_domains)
104 .field("wildcard_domains", &wildcard_domains)
105 .finish()
106 }
107}
108
109impl Default for CertStore {

Callers

nothing calls this directly

Calls 2

finishMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected