Taylor Cramer
6b8ad4ff99
Fix warnings
2017-10-25 17:27:24 -07:00
Patrick Barrett
0c553f958a
return implicitly (rather than both explicitly and implicitly)
2017-01-14 13:00:46 -06:00
Patrick Barrett
e502603532
use the 'Out' type in encode rather than copy/paste
2017-01-14 12:59:22 -06:00
Alex Crichton
1a48b79474
Touch up examples to ensure consistency
2016-11-22 12:35:30 -08:00
Alex Crichton
9b62ade962
Touch up codes for UDP
...
* Move to `std::net` as it's all purely UDP related
* Rename to `UdpCodec` and `UdpFramed` to give a consistent `Udp` prefix
* Add `RecvDgram`, rename `SendDGram` to `SendDgram`
* Touch up some style here and there
2016-11-22 11:48:09 -08:00
Rick Richardson
2cb600bd19
changed CodecUdp::decode to return Self::In instead of Option<Self::In>
2016-11-22 08:29:02 -08:00
Rick Richardson
b12d32ce1c
made send_dgram move self, made FramedUdp::new private, other clean-ups and tweaks
2016-11-21 11:28:25 -08:00
Rick Richardson
ab3915d47d
forgot a =
2016-11-20 11:55:57 -08:00
Rick Richardson
161811de8b
moved udp test to examples, optimized buffer handling
2016-11-20 11:40:43 -08:00