pub trait TryInto<T> {
type Error;
// Required method
fn try_into(self) -> Result<T, Self::Error>;
}
Expand description
This trait is at the time of this writing a nightly-only experimental API and so we just replicate it here, so it will be easy to switch to it later on.