pub trait IntoResult<T> {
type Err;
// Required method
fn into_result(self) -> Result<T, Self::Err>;
}Expand description
Trait implemented by the return value of the expression specified in #[from_str(new = ...)].
pub trait IntoResult<T> {
type Err;
// Required method
fn into_result(self) -> Result<T, Self::Err>;
}Trait implemented by the return value of the expression specified in #[from_str(new = ...)].