Expand description
re-export of bytes crate types.
Modules§
- buf
- Utilities for working with buffers.
Structs§
- BufMut
Writer - A new type for help implementing io::Write and fmt::Write traits.
- Bytes
- A cheaply cloneable and sliceable chunk of contiguous memory.
- Bytes
Mut - A unique reference to a contiguous slice of memory.
- Bytes
Str - reference counted String type. cheap to Clone and share between multiple threads.
- Paged
Bytes Mut - const generic guarded BytesMut with page size in byte unit at compile time. when internal memory reserve happen it always aim for the page size.
- TryGet
Error - Error type for the
try_get_
methods ofBuf
. Indicates that there were not enough remaining bytes in the buffer while attempting to get a value from aBuf
with one of thetry_get_
methods. - Write
Buf
Enums§
Traits§
- Buf
- Read bytes from a buffer.
- BufInterest
- trait generic over different types of buffer strategy.
- BufMut
- A trait for values that provide sequential write access to bytes.
- BufRead
- trait generic over different types of read buffer strategy.
- BufWrite
- trait generic over different types of write buffer strategy.