(mut buf: Cursor)
| 890 | } |
| 891 | |
| 892 | fn decode_execute(mut buf: Cursor) -> Result<FrontendMessage, io::Error> { |
| 893 | let portal_name = buf.read_cstr()?.to_string(); |
| 894 | let max_rows = buf.read_i32()?; |
| 895 | Ok(FrontendMessage::Execute { |
| 896 | portal_name, |
| 897 | max_rows, |
| 898 | }) |
| 899 | } |
| 900 | |
| 901 | fn decode_flush(mut _buf: Cursor) -> Result<FrontendMessage, io::Error> { |
| 902 | // Nothing more to decode. |