MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / as_ref

Method as_ref

crates/sats/src/hex.rs:52–54  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

50
51impl<const N: usize> AsRef<str> for HexString<N> {
52 fn as_ref(&self) -> &str {
53 self
54 }
55}
56
57impl<const N: usize> AsRef<[u8]> for HexString<N> {

Callers 15

on_disconnectFunction · 0.45
current_databaseMethod · 0.45
runMethod · 0.45
backgroundMethod · 0.45
data_dir_fixtureMethod · 0.45
buildMethod · 0.45
pg_portMethod · 0.45
callMethod · 0.45
call_outputMethod · 0.45
call_anonMethod · 0.45

Calls 1

as_bytesMethod · 0.45

Tested by 15

test_logsFunction · 0.36
test_publishFunction · 0.36
test_lock_is_idempotentFunction · 0.36
test_describeFunction · 0.36
logs_filteredFunction · 0.36