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

Method baz

modules/module-test/src/lib.rs:210–212  ·  view source on GitHub ↗
(data: &[u8])

Source from the content-addressed store, hash-verified

208
209impl Foo<'_> {
210 pub fn baz(data: &[u8]) -> Foo<'_> {
211 bsatn::from_slice(data).unwrap()
212 }
213}
214
215// ─────────────────────────────────────────────────────────────────────────────

Callers

nothing calls this directly

Calls 2

from_sliceFunction · 0.50
unwrapMethod · 0.45

Tested by

no test coverage detected