Huge overhaul of bytes

* Get rid of `ByteStr` trait
* `Bytes` is not a concrete type
* Add `BlockBuf`
* Delete lots of cruft
* Performance work
This commit is contained in:
Carl Lerche
2016-08-10 15:45:31 -07:00
parent b2efe63c70
commit 04e0ac75e2
31 changed files with 1630 additions and 1653 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
use bytes::{ByteStr, Buf, MutBuf};
use bytes::{Buf, MutBuf, AppendBuf};
use bytes::alloc::Pool;
use bytes::buf::AppendBuf;
#[test]
pub fn test_initial_buf_empty() {