Skip to main content

TryIntoExt

Trait TryIntoExt 

Source
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§

Source

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".

Implementors§

Source§

impl<T, U> TryIntoExt<U> for T
where U: TryFromExt<T>,

Source§

type Error = <U as TryFromExt<T>>::Error