Skip to main content

Module to_string_or_borrow

Module to_string_or_borrow 

Source

Structs§

PartiallyValidatedUtf8 🔒
Bytes that have been partially validated as UTF-8 up to an offset.

Enums§

SliceOrString 🔒

Functions§

to_string_or_borrow
Writes the contents of a Writeable to a string, returning a reference to a slice if it matches the provided reference bytes, and allocating a String otherwise.