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

Used to do conversions between values in the Soroban environment.

Required Associated Types§

type Error: Debug

Required Methods§

fn try_from_val(env: &E, v: &V) -> Result<Self, Self::Error>

Implementations on Foreign Types§

§

impl<E, T, R> TryFromVal<E, RawVal> for Result<T, R>where
E: Env,
T: TryFromVal<E, RawVal>,
R: TryFrom<Status>,

§

type Error = ConversionError

§

fn try_from_val(
env: &E,
val: &RawVal
) -> Result<Result<T, R>, <Result<T, R> as TryFromVal<E, RawVal>>::Error>

§

impl<E, T0, const N: usize> TryFromVal<E, [RawVal; N]> for (T0,)where
E: Env,
T0: TryFromVal<E, RawVal>,

§

type Error = ConversionError

§

fn try_from_val(
env: &E,
val: &[RawVal; N]
) -> Result<(T0,), <(T0,) as TryFromVal<E, [RawVal; N]>>::Error>

§

impl<E> TryFromVal<E, RawVal> for Stringwhere
E: Env,

§

impl<E, T0, T1, T2, const N: usize> TryFromVal<E, (T0, T1, T2)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2>,

§

impl<E> TryFromVal<E, [RawVal; 0]> for ()where
E: Env,

§

type Error = ConversionError

§

fn try_from_val(
_env: &E,
_val: &[RawVal; 0]
) -> Result<(), <() as TryFromVal<E, [RawVal; 0]>>::Error>

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,
T10: TryFromVal<E, RawVal>,
T11: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,
T10: TryFromVal<E, RawVal>,
T11: TryFromVal<E, RawVal>,

§

impl<E> TryFromVal<E, RawVal> for u64where
E: Env,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,

§

impl<E, T0, const N: usize> TryFromVal<E, (T0,)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0>,

§

type Error = ConversionError

§

fn try_from_val(
env: &E,
val: &(T0,)
) -> Result<[RawVal; N], <[RawVal; N] as TryFromVal<E, (T0,)>>::Error>

§

impl<E, const N: usize> TryFromVal<E, RawVal> for [u8; N]where
E: Env,

§

type Error = Status

§

fn try_from_val(
env: &E,
val: &RawVal
) -> Result<[u8; N], <[u8; N] as TryFromVal<E, RawVal>>::Error>

§

impl<E> TryFromVal<E, Static> for ()where
E: Env,

§

type Error = ConversionError

§

fn try_from_val(
_env: &E,
val: &Static
) -> Result<(), <() as TryFromVal<E, Static>>::Error>

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, const N: usize> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2> + TryFromVal<E, T3> + TryFromVal<E, T4> + TryFromVal<E, T5> + TryFromVal<E, T6> + TryFromVal<E, T7> + TryFromVal<E, T8> + TryFromVal<E, T9> + TryFromVal<E, T10>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,

§

impl<E> TryFromVal<E, Object> for ScObjectwhere
E: Env + Convert<Object, ScObject>,

§

type Error = <E as Convert<Object, ScObject>>::Error

§

fn try_from_val(
env: &E,
val: &Object
) -> Result<ScObject, <ScObject as TryFromVal<E, Object>>::Error>

§

impl<E, T0, T1, T2, T3, T4, T5, T6, const N: usize> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2> + TryFromVal<E, T3> + TryFromVal<E, T4> + TryFromVal<E, T5> + TryFromVal<E, T6>,

§

impl<E, T0, T1, T2, T3, T4, T5, const N: usize> TryFromVal<E, (T0, T1, T2, T3, T4, T5)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2> + TryFromVal<E, T3> + TryFromVal<E, T4> + TryFromVal<E, T5>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, const N: usize> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2> + TryFromVal<E, T3> + TryFromVal<E, T4> + TryFromVal<E, T5> + TryFromVal<E, T6> + TryFromVal<E, T7> + TryFromVal<E, T8>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2, T3, T4, T5, T6, T7)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2, T3, T4)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2, T3, T4, T5)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,

§

impl<E> TryFromVal<E, RawVal> for u32where
E: Env,

§

impl<E> TryFromVal<E, RawVal> for i128where
E: Env,

§

impl<E> TryFromVal<E, RawVal> for ScValwhere
E: Env,
ScObject: TryFromVal<E, Object>,

§

type Error = ConversionError

§

fn try_from_val(
env: &E,
val: &RawVal
) -> Result<ScVal, <ScVal as TryFromVal<E, RawVal>>::Error>

§

impl<E> TryFromVal<E, RawVal> for u128where
E: Env,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, const N: usize> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2> + TryFromVal<E, T3> + TryFromVal<E, T4> + TryFromVal<E, T5> + TryFromVal<E, T6> + TryFromVal<E, T7> + TryFromVal<E, T8> + TryFromVal<E, T9> + TryFromVal<E, T10> + TryFromVal<E, T11> + TryFromVal<E, T12>,

§

impl<E> TryFromVal<E, RawVal> for ()where
E: Env,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, const N: usize> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2> + TryFromVal<E, T3> + TryFromVal<E, T4> + TryFromVal<E, T5> + TryFromVal<E, T6> + TryFromVal<E, T7> + TryFromVal<E, T8> + TryFromVal<E, T9> + TryFromVal<E, T10> + TryFromVal<E, T11>,

§

impl<E, T0, T1, T2, T3, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2, T3)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,

§

impl<E, T> TryFromVal<E, RawVal> for Option<T>where
E: Env,
T: TryFromVal<E, RawVal>,

§

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

§

fn try_from_val(
env: &E,
val: &RawVal
) -> Result<Option<T>, <Option<T> as TryFromVal<E, RawVal>>::Error>

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,
T10: TryFromVal<E, RawVal>,
T11: TryFromVal<E, RawVal>,
T12: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2, T3, T4, T5, T6)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, const N: usize> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2> + TryFromVal<E, T3> + TryFromVal<E, T4> + TryFromVal<E, T5> + TryFromVal<E, T6> + TryFromVal<E, T7> + TryFromVal<E, T8> + TryFromVal<E, T9>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,
T10: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, const N: usize> TryFromVal<E, (T0, T1, T2, T3, T4)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2> + TryFromVal<E, T3> + TryFromVal<E, T4>,

§

impl<E, T0> TryFromVal<E, RawVal> for (T0,)where
E: Env,
T0: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3> TryFromVal<E, RawVal> for (T0, T1, T2, T3)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,

§

impl<E> TryFromVal<E, RawVal> for Vec<u8, Global>where
E: Env,

§

type Error = Status

§

fn try_from_val(
env: &E,
val: &RawVal
) -> Result<Vec<u8, Global>, <Vec<u8, Global> as TryFromVal<E, RawVal>>::Error>

§

impl<E, T0, T1, T2, T3, T4> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,
T10: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, const N: usize> TryFromVal<E, (T0, T1)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1>,

§

impl<E> TryFromVal<E, ()> for [RawVal; 0]where
E: Env,

§

type Error = ConversionError

§

fn try_from_val(
_env: &E,
_v: &()
) -> Result<[RawVal; 0], <[RawVal; 0] as TryFromVal<E, ()>>::Error>

§

impl<E> TryFromVal<E, RawVal> for i32where
E: Env,

§

impl<E> TryFromVal<E, Static> for boolwhere
E: Env,

§

type Error = ConversionError

§

fn try_from_val(
_env: &E,
val: &Static
) -> Result<bool, <bool as TryFromVal<E, Static>>::Error>

§

impl<E, T0, T1> TryFromVal<E, RawVal> for (T0, T1)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, const N: usize> TryFromVal<E, (T0, T1, T2, T3)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2> + TryFromVal<E, T3>,

§

impl<E> TryFromVal<E, RawVal> for i64where
E: Env,

§

impl<E> TryFromVal<E, RawVal> for boolwhere
E: Env,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,
T10: TryFromVal<E, RawVal>,
T11: TryFromVal<E, RawVal>,
T12: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2> TryFromVal<E, RawVal> for (T0, T1, T2)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, const N: usize> TryFromVal<E, [RawVal; N]> for (T0, T1, T2)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, const N: usize> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7)> for [RawVal; N]where
E: Env,
RawVal: TryFromVal<E, T0> + TryFromVal<E, T1> + TryFromVal<E, T2> + TryFromVal<E, T3> + TryFromVal<E, T4> + TryFromVal<E, T5> + TryFromVal<E, T6> + TryFromVal<E, T7>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
E: Env,
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,

source§

impl<const N: usize> TryFromVal<Env, BytesN<N>> for [u8; N]

§

type Error = ConversionError

source§

fn try_from_val(_env: &Env, v: &BytesN<N>) -> Result<Self, Self::Error>

Implementors§

source§

impl TryFromVal<Host, AccountEd25519Signature> for RawVal

source§

impl TryFromVal<Host, Address> for RawVal

source§

impl TryFromVal<Host, AllowanceDataKey> for RawVal

source§

impl TryFromVal<Host, AlphaNum4Metadata> for RawVal

source§

impl TryFromVal<Host, AlphaNum12Metadata> for RawVal

source§

impl TryFromVal<Host, AuthorizationContext> for RawVal

source§

impl TryFromVal<Host, BalanceValue> for RawVal

source§

impl TryFromVal<Host, Bytes> for RawVal

source§

impl TryFromVal<Host, DataKey> for RawVal

source§

impl TryFromVal<Host, Map> for RawVal

source§

impl TryFromVal<Host, Metadata> for RawVal

source§

impl TryFromVal<Host, Vec> for RawVal

source§

impl TryFromVal<Env, &str> for Bytes

source§

impl TryFromVal<Env, &Address> for RawVal

source§

impl TryFromVal<Env, &[u8]> for Bytes

source§

impl TryFromVal<Env, ()> for soroban_sdk::Vec<RawVal>

source§

impl TryFromVal<Env, Address> for RawVal

source§

impl TryFromVal<Env, Bytes> for Bytes

source§

impl TryFromVal<Env, Bytes> for RawVal

source§

impl TryFromVal<Env, RawVal> for Address

§

type Error = <Address as TryFromVal<Env, Object>>::Error

source§

impl TryFromVal<Env, RawVal> for Bytes

§

type Error = <Bytes as TryFromVal<Env, Object>>::Error

source§

impl TryFromVal<Env, Object> for Address

source§

impl TryFromVal<Env, Object> for Bytes

source§

impl TryFromVal<Env, ScVal> for Address

source§

impl TryFromVal<Env, ScVal> for Bytes

§

impl<'a, E> TryFromVal<E, String> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, &str> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, &[u8]> for RawValwhere
E: Env,

§

type Error = Status

§

impl<E> TryFromVal<E, bool> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, i32> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, i64> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, i128> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, u32> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, u64> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, u128> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, ()> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, Vec<u8, Global>> for RawValwhere
E: Env,

§

type Error = Status

§

impl<E> TryFromVal<E, RawVal> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, RawVal> for Symbolwhere
E: Env,

§

impl<E> TryFromVal<E, RawVal> for BitSetwhere
E: Env,

§

impl<E> TryFromVal<E, RawVal> for Objectwhere
E: Env,

§

impl<E> TryFromVal<E, RawVal> for Staticwhere
E: Env,

§

impl<E> TryFromVal<E, RawVal> for Statuswhere
E: Env,

§

impl<E> TryFromVal<E, Symbol> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, BitSet> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, Object> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, ScObject> for Objectwhere
E: Env + for<'a> Convert<&'a ScObject, Object>,

§

impl<E> TryFromVal<E, ScVal> for RawValwhere
E: Env,
Object: TryFromVal<E, ScObject>,

§

impl<E> TryFromVal<E, ScVal> for Objectwhere
E: Env + for<'a> Convert<&'a ScObject, Object>,

§

impl<E> TryFromVal<E, Static> for RawValwhere
E: Env,

§

impl<E> TryFromVal<E, Status> for RawValwhere
E: Env,

§

impl<E, T0> TryFromVal<E, (T0,)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1> TryFromVal<E, (T0, T1)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2> TryFromVal<E, (T0, T1, T2)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3> TryFromVal<E, (T0, T1, T2, T3)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4> TryFromVal<E, (T0, T1, T2, T3, T4)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5> TryFromVal<E, (T0, T1, T2, T3, T4, T5)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
T8: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
T8: TryIntoVal<E, RawVal>,
T9: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
T8: TryIntoVal<E, RawVal>,
T9: TryIntoVal<E, RawVal>,
T10: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
T8: TryIntoVal<E, RawVal>,
T9: TryIntoVal<E, RawVal>,
T10: TryIntoVal<E, RawVal>,
T11: TryIntoVal<E, RawVal>,

§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
T8: TryIntoVal<E, RawVal>,
T9: TryIntoVal<E, RawVal>,
T10: TryIntoVal<E, RawVal>,
T11: TryIntoVal<E, RawVal>,
T12: TryIntoVal<E, RawVal>,

§

impl<E, T> TryFromVal<E, Option<T>> for RawValwhere
E: Env,
T: TryIntoVal<E, RawVal>,

§

type Error = <T as TryIntoVal<E, RawVal>>::Error

§

impl<E, T, R> TryFromVal<E, Result<T, R>> for RawValwhere
E: Env,
RawVal: TryFromVal<E, T>,
Status: for<'a> TryFrom<&'a R>,

§

impl<E, const N: usize> TryFromVal<E, [u8; N]> for RawValwhere
E: Env,

§

type Error = Status

source§

impl<K, V> TryFromVal<Env, Map<K, V>> for RawValwhere
K: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,
V: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,

source§

impl<K, V> TryFromVal<Env, RawVal> for Map<K, V>where
K: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,
V: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,

§

type Error = <Map<K, V> as TryFromVal<Env, Object>>::Error

source§

impl<K, V> TryFromVal<Env, Object> for Map<K, V>where
K: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,
V: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,

source§

impl<K, V> TryFromVal<Env, ScVal> for Map<K, V>where
K: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,
V: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,

source§

impl<T0> TryFromVal<Env, (T0,)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,

source§

impl<T0, T1> TryFromVal<Env, (T0, T1)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2> TryFromVal<Env, (T0, T1, T2)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2, T3> TryFromVal<Env, (T0, T1, T2, T3)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,
T3: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2, T3, T4> TryFromVal<Env, (T0, T1, T2, T3, T4)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,
T3: IntoVal<Env, RawVal>,
T4: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2, T3, T4, T5> TryFromVal<Env, (T0, T1, T2, T3, T4, T5)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,
T3: IntoVal<Env, RawVal>,
T4: IntoVal<Env, RawVal>,
T5: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2, T3, T4, T5, T6> TryFromVal<Env, (T0, T1, T2, T3, T4, T5, T6)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,
T3: IntoVal<Env, RawVal>,
T4: IntoVal<Env, RawVal>,
T5: IntoVal<Env, RawVal>,
T6: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<Env, (T0, T1, T2, T3, T4, T5, T6, T7)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,
T3: IntoVal<Env, RawVal>,
T4: IntoVal<Env, RawVal>,
T5: IntoVal<Env, RawVal>,
T6: IntoVal<Env, RawVal>,
T7: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<Env, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,
T3: IntoVal<Env, RawVal>,
T4: IntoVal<Env, RawVal>,
T5: IntoVal<Env, RawVal>,
T6: IntoVal<Env, RawVal>,
T7: IntoVal<Env, RawVal>,
T8: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<Env, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,
T3: IntoVal<Env, RawVal>,
T4: IntoVal<Env, RawVal>,
T5: IntoVal<Env, RawVal>,
T6: IntoVal<Env, RawVal>,
T7: IntoVal<Env, RawVal>,
T8: IntoVal<Env, RawVal>,
T9: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<Env, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,
T3: IntoVal<Env, RawVal>,
T4: IntoVal<Env, RawVal>,
T5: IntoVal<Env, RawVal>,
T6: IntoVal<Env, RawVal>,
T7: IntoVal<Env, RawVal>,
T8: IntoVal<Env, RawVal>,
T9: IntoVal<Env, RawVal>,
T10: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<Env, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,
T3: IntoVal<Env, RawVal>,
T4: IntoVal<Env, RawVal>,
T5: IntoVal<Env, RawVal>,
T6: IntoVal<Env, RawVal>,
T7: IntoVal<Env, RawVal>,
T8: IntoVal<Env, RawVal>,
T9: IntoVal<Env, RawVal>,
T10: IntoVal<Env, RawVal>,
T11: IntoVal<Env, RawVal>,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<Env, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for soroban_sdk::Vec<RawVal>where
T0: IntoVal<Env, RawVal>,
T1: IntoVal<Env, RawVal>,
T2: IntoVal<Env, RawVal>,
T3: IntoVal<Env, RawVal>,
T4: IntoVal<Env, RawVal>,
T5: IntoVal<Env, RawVal>,
T6: IntoVal<Env, RawVal>,
T7: IntoVal<Env, RawVal>,
T8: IntoVal<Env, RawVal>,
T9: IntoVal<Env, RawVal>,
T10: IntoVal<Env, RawVal>,
T11: IntoVal<Env, RawVal>,
T12: IntoVal<Env, RawVal>,

source§

impl<T> TryFromVal<Env, &Vec<RawVal>> for soroban_sdk::Vec<T>

source§

impl<T> TryFromVal<Env, RawVal> for soroban_sdk::Vec<T>where
T: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,

§

type Error = <Vec<T> as TryFromVal<Env, Object>>::Error

source§

impl<T> TryFromVal<Env, Vec<T>> for RawVal

source§

impl<T> TryFromVal<Env, Vec<T>> for soroban_sdk::Vec<RawVal>

source§

impl<T> TryFromVal<Env, Vec<T>> for Object

source§

impl<T> TryFromVal<Env, Object> for soroban_sdk::Vec<T>where
T: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,

source§

impl<T> TryFromVal<Env, ScObject> for soroban_sdk::Vec<T>where
T: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,

source§

impl<T> TryFromVal<Env, ScVal> for soroban_sdk::Vec<T>where
T: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,

source§

impl<T> TryFromVal<Env, ScVec> for soroban_sdk::Vec<T>where
T: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,

source§

impl<const N: usize> TryFromVal<Host, BytesN<N>> for RawVal

source§

impl<const N: usize> TryFromVal<Env, BytesN<N>> for Bytes

source§

impl<const N: usize> TryFromVal<Env, BytesN<N>> for BytesN<N>

source§

impl<const N: usize> TryFromVal<Env, BytesN<N>> for RawVal

source§

impl<const N: usize> TryFromVal<Env, RawVal> for BytesN<N>

source§

impl<const N: usize> TryFromVal<Env, Object> for BytesN<N>

source§

impl<const N: usize> TryFromVal<Env, ScVal> for BytesN<N>

source§

impl<const N: usize> TryFromVal<Env, [u8; N]> for Bytes

source§

impl<const N: usize> TryFromVal<Env, [u8; N]> for BytesN<N>