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