hard coded reesult format to always ask for binary output from server
(buf: &mut BytesMut)
| 127 | |
| 128 | // hard coded reesult format to always ask for binary output from server |
| 129 | fn result_fmt_binary(buf: &mut BytesMut) { |
| 130 | buf.extend_from_slice(&[0, 1, 0, 1]); |
| 131 | } |
| 132 | |
| 133 | trait FromUsize: Sized { |
| 134 | fn from_usize(x: usize) -> Result<Self, io::Error>; |