pub trait TryIntoVal<E, V>where
    E: Env,{
    type Error: Debug;

    // Required method
    fn try_into_val(&self, env: &E) -> Result<V, Self::Error>;
}
Expand description

Used to do conversions between values in the Soroban environment.

Required Associated Types§

type Error: Debug

Required Methods§

fn try_into_val(&self, env: &E) -> Result<V, Self::Error>

Implementors§

§

impl<E, T, U> TryIntoVal<E, T> for Uwhere E: Env, T: TryFromVal<E, U>,

§

type Error = <T as TryFromVal<E, U>>::Error