MCPcopy Create free account
hub / github.com/HFQR/xitca-web / sync

Function sync

postgres/src/protocol.rs:66–68  ·  view source on GitHub ↗

optimized version of postgres_protocol::frontend::sync

(buf: &mut BytesMut)

Source from the content-addressed store, hash-verified

64
65// optimized version of postgres_protocol::frontend::sync
66pub(crate) fn sync(buf: &mut BytesMut) {
67 buf.extend_from_slice(&[b'S', 0, 0, 0, 4]);
68}
69
70fn write_body<F>(buf: &mut BytesMut, f: F) -> Result<(), Error>
71where

Callers 5

finishMethod · 0.70
do_cancelMethod · 0.70
encode_statement_createFunction · 0.50
encodeMethod · 0.50
encode_stmt_queryFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected