[−][src]Crate strchunk
UTF-8 string invariants for byte buffers provided by the bytes crate.
The strchunk crate builds on the efficient byte containers provided
by the bytes crate. Its two container types, StrChunk and StrChunkMut,
wrap around Bytes and BytesMut, respectively, adding a guarantee
for the content to be valid UTF-8 to make it safely usable as
Rust string slices.
Structs
| ExtractUtf8Error | An error returned by |
| StrChunk | A reference counted contiguous UTF-8 slice in memory. |
| StrChunkMut | A unique reference to a contiguous UTF-8 slice in memory. |