Douman
b6cb346adf
Remove IntoBuf/FromBuf ( #288 )
...
As consequence Buf::collect is removed as well, which is replaced with `Buf::into_bytes`. The advantage of `Buf::into_bytes` is that it can be optimized in cases where converting a `T: Buf` into a `Bytes` instance is efficient.
2019-08-27 13:09:43 -07:00
Taiki Endo
ae7d884582
Update Bytes to Rust 2018 ( #274 )
2019-07-26 05:01:22 +09:00
Bruce Mitchener
e25b75a28e
Fix typos.
2019-07-16 11:18:49 -07:00
Sean McArthur
dea868a4b0
Replace iovec with std::io::IoSlice
...
- Renames `bytes_vec` to `bytes_vectored` and `bytes_vec_mut` to
`bytes_vectored_mut`.
2019-06-11 11:58:43 -07:00
YetAnotherMinion
d8134903de
feat: remove impl IntoBuf for Cursor<Self>, impl Buf for Bytes, BytesMut, refactor iterators
2019-06-06 16:59:44 -07:00
Carl Lerche
3d169f1f34
Update iovec dependency ( #179 )
...
Update to match master version of IoVec (0.2.0?), using
IoVec/IoVecMut instead of &IoVec and &mut IoVec.
2018-01-25 22:02:21 -08:00
Carl Lerche
d70f575afd
Provide Debug impls for all types
2017-03-07 10:20:58 -08:00
Carl Lerche
d0142aa6da
Clarify API edge cases
2017-03-01 18:30:58 -08:00
Carl Lerche
94396162b2
Implement chain combinator for Buf
2017-03-01 14:22:53 -08:00