Module aws_smithy_types::str_bytes
source · Expand description
UTF-8 string byte buffer representation with validation amortization.
Structs§
- UTF-8 string byte buffer representation with validation amortization. When
StrBytes
is constructed from a&str
orString
, its underlying bytes are assumed to be valid UTF-8. Otherwise, if constructed from a byte source, the construction will be fallible.