pub trait TryIntoExt<T>: Sized {
type Error;
// Required method
fn try_into_ext(self) -> Result<T, Self::Error>;
}
Expand description
A manual implementation of TryInto
.
A blanket implementation is provided for implementers of TryFromExt<T>
.
Required Associated Types§
Required Methods§
Sourcefn try_into_ext(self) -> Result<T, Self::Error>
fn try_into_ext(self) -> Result<T, Self::Error>
Tries to perform the conversion.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.