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

Method write_string

crates/pg/src/encoder.rs:95–98  ·  view source on GitHub ↗
(&mut self, value: &str)

Source from the content-addressed store, hash-verified

93 }
94
95 fn write_string(&mut self, value: &str) -> Result<(), Self::Error> {
96 self.encoder.encode_field(&value)?;
97 Ok(())
98 }
99
100 fn write_bytes(&mut self, value: &[u8]) -> Result<(), Self::Error> {
101 self.encoder.encode_field(&value)?;

Callers

nothing calls this directly

Calls 1

OkFunction · 0.50

Tested by

no test coverage detected