Crate bytes [−] [src]
Reexports
pub use buf::{Buf, BufExt, MutBuf, MutBufExt, Source, Sink}; | 
pub use str::{ByteStr, ToBytes}; | 
Modules
| alloc | |
| buf | |
| str | |
| traits | 
                                 All traits are re-exported here to allow glob imports.  | 
                       
Structs
| ByteBuf | 
                                 A   | 
                       
| Bytes | 
                                 A specialized   | 
                       
| MutByteBuf | |
| MutSliceBuf | |
| ROByteBuf | 
                                 Same as   | 
                       
| RingBuf | 
                                 Buf backed by a continous chunk of memory. Maintains a read cursor and a write cursor. When reads and writes reach the end of the allocated buffer, wraps around to the start.  | 
                       
| Rope | 
                                 An immutable sequence of bytes formed by concatenation of other   | 
                       
| RopeBuf | |
| SeqByteStr | |
| SliceBuf | |
| SmallByteStr | |
| SmallByteStrBuf | |
| Take | 
Enums
| BufError |