stevenarella/src/protocol
ice_iix 87bfb8d2a4 Change Lengthable trait method names to into_len/from_len
std::convert::From<usize> cannot be used here because we cannot
implement bool<->usize conversions, due to Rust's orphan rules:

http://smallcultfollowing.com/babysteps/blog/2015/01/14/little-orphan-impls/
"prevent you from implementing external traits for external types"

Nonetheless, Lengthable used the same methods as From. This is allowed
but can require disambiguation if both are used, no longer strictly
needed for #140 but to reduce confusion and improve clarity, renamed
`from` to `from_len` and `into` to `into_len`.
2019-05-11 13:03:24 -07:00
..
versions Add Forge handshake support. Closes #88 (#134) 2019-05-05 18:39:58 -07:00
forge.rs Add Forge handshake support. Closes #88 (#134) 2019-05-05 18:39:58 -07:00
mod.rs Change Lengthable trait method names to into_len/from_len 2019-05-11 13:03:24 -07:00
mojang.rs Add support for compiling WebAssembly wasm32-unknown-unknown target (#92) 2019-03-03 08:32:36 -08:00
packet.rs Add Forge handshake support. Closes #88 (#134) 2019-05-05 18:39:58 -07:00
versions.rs 1.14 protocol support (477) (#132). Closes #72 2019-05-04 16:04:19 -07:00