pub fn copy_data(data: &[u8], buf: &mut BytesMut)Expand description
Writes a copy data message.
Sends a chunk of COPY data to the server during COPY IN operation. The data format depends on the COPY format (text or binary).
ยงArguments
data- COPY data bytesbuf- Buffer to write the message to