MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / decode_copy_fail

Function decode_copy_fail

src/pgwire/src/codec.rs:924–926  ·  view source on GitHub ↗
(mut buf: Cursor)

Source from the content-addressed store, hash-verified

922}
923
924fn decode_copy_fail(mut buf: Cursor) -> Result<FrontendMessage, io::Error> {
925 Ok(FrontendMessage::CopyFail(buf.read_cstr()?.to_string()))
926}

Callers 1

decodeMethod · 0.85

Calls 2

read_cstrMethod · 0.80
to_stringMethod · 0.45

Tested by

no test coverage detected