[−][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 crate bytes
. Its two container types, StrChunk
and StrChunkMut
,
wrap around Bytes
and BytesMut
, respectively, adding the guarantee
for the content to be valid UTF-8 and therefore making it 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. |