Trait iri_string::format::ToStringFallible
source · [−]pub trait ToStringFallible: ToString {
fn try_to_string(&self) -> Result<String, TryReserveError>;
}
Expand description
ToString
, but without panic.
Required Methods
fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.