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

Method write_duration

crates/pg/src/encoder.rs:115–118  ·  view source on GitHub ↗
(&mut self, value: TimeDuration)

Source from the content-addressed store, hash-verified

113 }
114
115 fn write_duration(&mut self, value: TimeDuration) -> Result<(), Self::Error> {
116 self.encoder.encode_field(&value.to_iso8601())?;
117 Ok(())
118 }
119
120 fn write_uuid(&mut self, value: Uuid) -> Result<(), Self::Error> {
121 self.encoder.encode_field(&value.to_string())?;

Callers

nothing calls this directly

Calls 2

to_iso8601Method · 0.80
OkFunction · 0.50

Tested by

no test coverage detected