Expand description
Contains the ffi-safe equivalent of std::borrow::Cow
, and related items.
Structs§
- BorrowingR
CowStr - A helper type, to deserialize a
RCowStr<'a>
which borrows from the deserializer. - BorrowingR
CowU8 Slice - A helper type, to deserialize an
RCow<'a, [u8]>
which borrows from the deserializer.
Enums§
- RCow
- Ffi-safe equivalent of
std::borrow::Cow
.
Traits§
- RCow
Compatible Ref - For making a
Cow<'a, Self>
convertible into anRCow
.
Functions§
- deserialize_
borrowed_ bytes - Deserializes an
RCow<'a, [u8]>
that borrows the slice from the deserializer whenever possible. - deserialize_
borrowed_ str - Deserializes an
RCowStr<'a>
that borrows the string from the deserializer whenever possible.