pub trait TryInto<T>where
T: View,
Self: View + Sized,
Self::V: SpecTryInto<T::V>,{
type Error;
// Required method
fn ex_try_into(self) -> Result<T, Self::Error>;
}
Expand description
Vest equivalent of std::convert::TryInto
.
Required Associated Types§
Required Methods§
Sourcefn ex_try_into(self) -> Result<T, Self::Error>
fn ex_try_into(self) -> Result<T, Self::Error>
Vest equivalent of std::convert::TryInto::try_into
.
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.