bufferfish 0.1.0

Binary message utility library for Rust and TypeScript interop.
Documentation
1
2
3
4
5
6
7
8
9
10
11
error[E0277]: the trait bound `u16: From<&str>` is not satisfied
 --> tests/compile_fail/invalid_header.rs:3:10
  |
3 | #[derive(Encode, Debug)]
  |          ^^^^^^ the trait `From<&str>` is not implemented for `u16`
  |
  = help: the following other types implement trait `From<T>`:
            `u16` implements `From<Char>`
            `u16` implements `From<bool>`
            `u16` implements `From<u8>`
  = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info)