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

Method encode

crates/client-api/src/util.rs:57–59  ·  view source on GitHub ↗
(&self, values: &mut E)

Source from the content-addressed store, hash-verified

55 }
56
57 fn encode<E: Extend<HeaderValue>>(&self, values: &mut E) {
58 values.extend([self.0.to_string().try_into().unwrap()])
59 }
60}
61
62#[derive(Clone, Debug)]

Callers

nothing calls this directly

Calls 4

try_intoMethod · 0.80
extendMethod · 0.45
unwrapMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected