(mut buf: Cursor)
| 805 | } |
| 806 | |
| 807 | fn decode_query(mut buf: Cursor) -> Result<FrontendMessage, io::Error> { |
| 808 | Ok(FrontendMessage::Query { |
| 809 | sql: buf.read_cstr()?.to_string(), |
| 810 | }) |
| 811 | } |
| 812 | |
| 813 | fn decode_parse(mut buf: Cursor) -> Result<FrontendMessage, io::Error> { |
| 814 | let name = buf.read_cstr()?; |