Trait soroban_env_common::TryFromVal
source · pub trait TryFromVal<E: Env, V: ?Sized>: Sized {
type Error: Debug;
// Required method
fn try_from_val(env: &E, v: &V) -> Result<Self, Self::Error>;
}
pub trait TryFromVal<E: Env, V: ?Sized>: Sized {
type Error: Debug;
// Required method
fn try_from_val(env: &E, v: &V) -> Result<Self, Self::Error>;
}