Trait iri_string::format::ToDedicatedString
source · [−]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
Required Methods
fn try_to_dedicated_string(&self) -> Result<Self::Target, TryReserveError>
fn try_to_dedicated_string(&self) -> Result<Self::Target, TryReserveError>
Converts the value to the allocated string.