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

Method write

crates/pg/src/encoder.rs:85–88  ·  view source on GitHub ↗
(&mut self, value: W)

Source from the content-addressed store, hash-verified

83 type Error = PgError;
84
85 fn write<W: std::fmt::Display>(&mut self, value: W) -> Result<(), Self::Error> {
86 self.encoder.encode_field(&value.to_string())?;
87 Ok(())
88 }
89
90 fn write_bool(&mut self, value: bool) -> Result<(), Self::Error> {
91 self.encoder.encode_field(&value)?;

Callers 1

pid_fileMethod · 0.45

Calls 2

OkFunction · 0.50
to_stringMethod · 0.45

Tested by

no test coverage detected