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 = ...)].
Required Associated Types§
Required Methods§
fn into_result(self) -> Result<T, Self::Err>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".