Trait orml_traits::parameters::TryInto2

source ·
pub trait TryInto2<T>: Sized {
    type Error;

    // Required method
    fn try_into2(self) -> Result<T, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn try_into2(self) -> Result<T, Self::Error>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, U> TryInto2<U> for T
where U: TryFrom2<T>,

§

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