Expand description
provides StringWrapper
, most useful for stack-based strings.
Structs§
- String
Wrapper - Like
String
, but with a fixed capacity and a generic backing bytes storage.
Traits§
- Buffer
- Equivalent to
AsMut<[u8]> + AsRef<[u8]>
with the additional constraint that implementations must return the same slice from subsequent calls ofas_mut
and/oras_ref
. - Owned
Buffer - The OwnedBuffer trait is in support of StringWrapper::from_str, since we need to be able to allocate new buffers for it.