pub trait ToDedicatedString {
    type Target;

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

    fn to_dedicated_string(&self) -> Self::Target { ... }
}
Expand description

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

Required Associated Types

Conversion target type.

Required Methods

Converts the value to the allocated string.

Provided Methods

Converts the value to the allocated string.

Panics

Panics if memory allocation error occured.

Implementors