Module abi_stable::std_types::cow[][src]

Expand description

Contains the ffi-safe equivalent of std::borrow::Cow, and related items.

Structs

A helper type, to deserialize a RCow<'a, str> which borrows from the deserializer.

A helper type, to deserialize an RCow<'a, [u8]> which borrows from the deserializer.

Enums

Ffi-safe equivalent of std::borrow::Cow.

Traits

The main bound of RCow<_>.

Functions

Deserializes an RCow<'a, [u8]> that borrows the slice from the deserializer whenever possible.

Deserializes an RCow<'a, str> that borrows the string from the deserializer whenever possible.