Trait ToDedicatedString

trait ToDedicatedString

A trait for types that can be converted to a dedicated allocated string types.

Associated Types

type Target

Conversion target type.

Required Methods

fn try_to_dedicated_string(self: &Self) -> Result<<Self as >::Target, TryReserveError>

Converts the value to the allocated string.

Provided Methods

fn to_dedicated_string(self: &Self) -> <Self as >::Target

Converts the value to the allocated string.

Panics

Panics if memory allocation error occured.

Implementors