(mut _buf: Cursor)
| 904 | } |
| 905 | |
| 906 | fn decode_sync(mut _buf: Cursor) -> Result<FrontendMessage, io::Error> { |
| 907 | // Nothing more to decode. |
| 908 | Ok(FrontendMessage::Sync) |
| 909 | } |
| 910 | |
| 911 | fn decode_copy_data(mut buf: Cursor, frame_len: usize) -> Result<FrontendMessage, io::Error> { |
| 912 | let mut data = Vec::with_capacity(frame_len); |