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

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

Structs

BorrowingRCowStr

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

BorrowingRCowU8Slice

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

Enums

RCow

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

Traits

BorrowOwned

The main bound of RCow<_>.

Functions

deserialize_borrowed_bytes

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

deserialize_borrowed_str

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