Trait RamaTryInto

pub trait RamaTryInto<T>: Sized {
    type Error;

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

Required Associated Types§

type Error

Required Methods§

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

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.

Implementors§

§

impl<T, U> RamaTryInto<U> for T
where U: RamaTryFrom<T>,

§

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