MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / as_ref

Method as_ref

nodedb/src/bridge/envelope.rs:60–62  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

58
59impl AsRef<[u8]> for Payload {
60 fn as_ref(&self) -> &[u8] {
61 self.as_bytes()
62 }
63}
64
65impl From<Vec<u8>> for Payload {

Callers 15

mainFunction · 0.45
encryption_keyMethod · 0.45
encryption_ringMethod · 0.45
run_checkpoint_cycleFunction · 0.45
spawn_checkpoint_taskFunction · 0.45
execute_plan_innerMethod · 0.45
spawn_cold_tier_taskFunction · 0.45
get_collectionMethod · 0.45
lookup_arrayMethod · 0.45
plan_with_nodedb_sqlMethod · 0.45
sql_expr_to_scan_filtersFunction · 0.45

Calls 1

as_bytesMethod · 0.45