MCPcopy Create free account
hub / github.com/hashintel/hash / to_str

Method to_str

libs/error-stack/src/fmt/mod.rs:423–428  ·  view source on GitHub ↗
(self, charset: Charset)

Source from the content-addressed store, hash-verified

421 }
422
423 const fn to_str(self, charset: Charset) -> &'static str {
424 match charset {
425 Charset::Utf8 => self.to_str_utf8(),
426 Charset::Ascii => self.to_str_ascii(),
427 }
428 }
429}
430
431struct SymbolDisplay<'a> {

Callers 15

load_json_configsFunction · 0.80
fmtMethod · 0.80
as_strFunction · 0.80
as_opt_strFunction · 0.80
ll_initFunction · 0.80
parse_refMethod · 0.80
find_test_casesFunction · 0.80
from_testMethod · 0.80
discover_jexpr_testsFunction · 0.80
json_content_typeFunction · 0.80

Calls 2

to_str_utf8Method · 0.80
to_str_asciiMethod · 0.80

Tested by 2

find_test_casesFunction · 0.64
discover_jexpr_testsFunction · 0.64