pub trait TryToString {
// Required method
fn try_to_string(&self) -> Result<String, AllocError>;
}
Expand description
A trait for converting a value to a String
.
Required Methods§
Sourcefn try_to_string(&self) -> Result<String, AllocError>
fn try_to_string(&self) -> Result<String, AllocError>
Converts the given value to a String
.