MCPcopy Create free account
hub / github.com/cowprotocol/services / encode_by_ref

Method encode_by_ref

crates/database/src/byte_array.rs:71–73  ·  view source on GitHub ↗
(&self, buf: &mut PgArgumentBuffer)

Source from the content-addressed store, hash-verified

69
70impl<const N: usize> Encode<'_, Postgres> for ByteArray<N> {
71 fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> Result<IsNull, BoxDynError> {
72 self.0.encode_by_ref(buf)
73 }
74}
75
76#[cfg(test)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected