pub trait TryFrom<T>: Sized { type Err; fn try_from(_: T) -> Result<Self, Self::Err>; }
Waiting to stabilize: https://github.com/rust-lang/rust/issues/33417
Attempt to construct Self via a conversion.
Self
The type returned in the event of a conversion error.
Performs the conversion.