Struct soroban_sdk::RawVal
#[repr(transparent)]pub struct RawVal(_);
Expand description
Raw value of the Soroban smart contract platform that types can be converted to and from for storing, or passing between contracts.
Implementations§
§impl RawVal
impl RawVal
pub const fn get_payload(self) -> u64
pub const fn from_payload(x: u64) -> RawVal
pub const fn shallow_eq(&self, other: &RawVal) -> bool
pub const fn get_tag(self) -> Tag
pub fn is<T>(self) -> boolwhere T: RawValConvertible,
pub const fn is_object(self) -> bool
pub const fn from_void() -> Void
pub const fn from_bool(b: bool) -> Bool
pub const fn is_void(self) -> bool
pub const fn is_true(self) -> bool
pub const fn is_false(self) -> bool
§impl RawVal
impl RawVal
pub const I32_ZERO: I32Val = RawVal::from_i32(0)
pub const I32_MIN: I32Val = RawVal::from_i32(i32::MIN)
pub const I32_MAX: I32Val = RawVal::from_i32(i32::MAX)
pub const U32_ZERO: U32Val = RawVal::from_u32(0)
pub const U32_ONE: U32Val = RawVal::from_u32(1)
pub const U32_MIN: U32Val = RawVal::from_u32(u32::MIN)
pub const U32_MAX: U32Val = RawVal::from_u32(u32::MAX)
pub const VOID: Void = RawVal::from_void()
pub const TRUE: Bool = RawVal::from_bool(true)
pub const FALSE: Bool = RawVal::from_bool(false)
§impl RawVal
impl RawVal
pub const fn from_u32(u: u32) -> U32Val
pub const fn from_i32(i: i32) -> I32Val
pub const fn is_i32_zero(self) -> bool
pub const fn is_u32_zero(self) -> bool
Trait Implementations§
source§impl<K, V> From<Map<K, V>> for RawValwhere
K: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,
V: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,
impl<K, V> From<Map<K, V>> for RawValwhere K: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>, V: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,
§impl<E> TryFromVal<E, &[u8]> for RawValwhere
E: Env,
impl<E> TryFromVal<E, &[u8]> for RawValwhere E: Env,
§impl<E> TryFromVal<E, &str> for RawValwhere
E: Env,
impl<E> TryFromVal<E, &str> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( env: &E, val: &&str ) -> Result<RawVal, <RawVal as TryFromVal<E, &str>>::Error>
§impl<E> TryFromVal<E, ()> for RawValwhere
E: Env,
impl<E> TryFromVal<E, ()> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &() ) -> Result<RawVal, <RawVal as TryFromVal<E, ()>>::Error>
§impl<E, T0> TryFromVal<E, (T0,)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
impl<E, T0> TryFromVal<E, (T0,)> for RawValwhere E: Env, T0: TryIntoVal<E, RawVal>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0,) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0,)>>::Error>
§impl<E, T0, T1> TryFromVal<E, (T0, T1)> for RawValwhere
E: Env,
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
impl<E, T0, T1> TryFromVal<E, (T0, T1)> for RawValwhere E: Env, T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1)>>::Error>
§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> TryFromVal<E, (T0, T1, T2)> for RawValwhere E: Env, T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2)>>::Error>
§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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2, T3) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2, T3)>>::Error>
§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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2, T3, T4)>>::Error>
§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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2, T3, T4, T5)>>::Error>
§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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6)>>::Error>
§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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7)>>::Error>
§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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8)>>::Error>
§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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)>>::Error>
§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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>>::Error>
§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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)>>::Error>
§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, 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>,
type Error = ConversionError
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ) -> Result<RawVal, <RawVal as TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)>>::Error>
§impl<E> TryFromVal<E, AddressObject> for RawValwhere
E: Env,
impl<E> TryFromVal<E, AddressObject> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &AddressObject ) -> Result<RawVal, <RawVal as TryFromVal<E, AddressObject>>::Error>
§impl<E> TryFromVal<E, Bool> for RawValwhere
E: Env,
impl<E> TryFromVal<E, Bool> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Bool ) -> Result<RawVal, <RawVal as TryFromVal<E, Bool>>::Error>
§impl<E> TryFromVal<E, BytesObject> for RawValwhere
E: Env,
impl<E> TryFromVal<E, BytesObject> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &BytesObject ) -> Result<RawVal, <RawVal as TryFromVal<E, BytesObject>>::Error>
§impl<E> TryFromVal<E, ContractExecutableObject> for RawValwhere
E: Env,
impl<E> TryFromVal<E, ContractExecutableObject> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &ContractExecutableObject ) -> Result<RawVal, <RawVal as TryFromVal<E, ContractExecutableObject>>::Error>
§impl<E> TryFromVal<E, DurationObject> for RawValwhere
E: Env,
impl<E> TryFromVal<E, DurationObject> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &DurationObject ) -> Result<RawVal, <RawVal as TryFromVal<E, DurationObject>>::Error>
§impl<E> TryFromVal<E, DurationSmall> for RawValwhere
E: Env,
impl<E> TryFromVal<E, DurationSmall> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &DurationSmall ) -> Result<RawVal, <RawVal as TryFromVal<E, DurationSmall>>::Error>
§impl<E> TryFromVal<E, DurationVal> for RawValwhere
E: Env,
impl<E> TryFromVal<E, DurationVal> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &DurationVal ) -> Result<RawVal, <RawVal as TryFromVal<E, DurationVal>>::Error>
§impl<E> TryFromVal<E, I128Object> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I128Object> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I128Object ) -> Result<RawVal, <RawVal as TryFromVal<E, I128Object>>::Error>
§impl<E> TryFromVal<E, I128Small> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I128Small> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I128Small ) -> Result<RawVal, <RawVal as TryFromVal<E, I128Small>>::Error>
§impl<E> TryFromVal<E, I128Val> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I128Val> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I128Val ) -> Result<RawVal, <RawVal as TryFromVal<E, I128Val>>::Error>
§impl<E> TryFromVal<E, I256> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I256> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &I256 ) -> Result<RawVal, <RawVal as TryFromVal<E, I256>>::Error>
§impl<E> TryFromVal<E, I256Object> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I256Object> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I256Object ) -> Result<RawVal, <RawVal as TryFromVal<E, I256Object>>::Error>
§impl<E> TryFromVal<E, I256Small> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I256Small> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I256Small ) -> Result<RawVal, <RawVal as TryFromVal<E, I256Small>>::Error>
§impl<E> TryFromVal<E, I256Val> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I256Val> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I256Val ) -> Result<RawVal, <RawVal as TryFromVal<E, I256Val>>::Error>
§impl<E> TryFromVal<E, I32Val> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I32Val> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I32Val ) -> Result<RawVal, <RawVal as TryFromVal<E, I32Val>>::Error>
§impl<E> TryFromVal<E, I64Object> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I64Object> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I64Object ) -> Result<RawVal, <RawVal as TryFromVal<E, I64Object>>::Error>
§impl<E> TryFromVal<E, I64Small> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I64Small> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I64Small ) -> Result<RawVal, <RawVal as TryFromVal<E, I64Small>>::Error>
§impl<E> TryFromVal<E, I64Val> for RawValwhere
E: Env,
impl<E> TryFromVal<E, I64Val> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I64Val ) -> Result<RawVal, <RawVal as TryFromVal<E, I64Val>>::Error>
§impl<E> TryFromVal<E, LedgerKeyNonceObject> for RawValwhere
E: Env,
impl<E> TryFromVal<E, LedgerKeyNonceObject> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &LedgerKeyNonceObject ) -> Result<RawVal, <RawVal as TryFromVal<E, LedgerKeyNonceObject>>::Error>
§impl<E> TryFromVal<E, MapObject> for RawValwhere
E: Env,
impl<E> TryFromVal<E, MapObject> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &MapObject ) -> Result<RawVal, <RawVal as TryFromVal<E, MapObject>>::Error>
§impl<E> TryFromVal<E, Object> for RawValwhere
E: Env,
impl<E> TryFromVal<E, Object> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Object ) -> Result<RawVal, <RawVal as TryFromVal<E, Object>>::Error>
§impl<E, T> TryFromVal<E, Option<T>> for RawValwhere
E: Env,
T: 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
fn try_from_val( env: &E, v: &Option<T> ) -> Result<RawVal, <RawVal as TryFromVal<E, Option<T>>>::Error>
§impl<E> TryFromVal<E, RawVal> for ()where
E: Env,
impl<E> TryFromVal<E, RawVal> for ()where E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<(), <() as TryFromVal<E, RawVal>>::Error>
§impl<E, T0> TryFromVal<E, RawVal> for (T0,)where
E: Env,
T0: TryFromVal<E, RawVal>,
impl<E, T0> TryFromVal<E, RawVal> for (T0,)where E: Env, T0: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0,), <(T0,) as TryFromVal<E, RawVal>>::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> TryFromVal<E, RawVal> for (T0, T1)where E: Env, T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1), <(T0, T1) as TryFromVal<E, RawVal>>::Error>
§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> TryFromVal<E, RawVal> for (T0, T1, T2)where E: Env, T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2), <(T0, T1, T2) as TryFromVal<E, RawVal>>::Error>
§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, 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>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2, T3), <(T0, T1, T2, T3) 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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2, T3, T4), <(T0, T1, T2, T3, T4) as TryFromVal<E, RawVal>>::Error>
§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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2, T3, T4, T5), <(T0, T1, T2, T3, T4, T5) as TryFromVal<E, RawVal>>::Error>
§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, 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>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2, T3, T4, T5, T6), <(T0, T1, T2, T3, T4, T5, T6) as TryFromVal<E, RawVal>>::Error>
§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, 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>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7), <(T0, T1, T2, T3, T4, T5, T6, T7) as TryFromVal<E, RawVal>>::Error>
§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>,
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>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8), <(T0, T1, T2, T3, T4, T5, T6, T7, T8) as TryFromVal<E, RawVal>>::Error>
§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, 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>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9), <(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) as TryFromVal<E, RawVal>>::Error>
§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, 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>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), <(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) as TryFromVal<E, RawVal>>::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> 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>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), <(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) 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, 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>,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), <(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for AddressObjectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for AddressObjectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<AddressObject, <AddressObject as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for Boolwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for Boolwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<Bool, <Bool as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for BytesObjectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for BytesObjectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<BytesObject, <BytesObject as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for ContractExecutableObjectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for ContractExecutableObjectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<ContractExecutableObject, <ContractExecutableObject as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for DurationObjectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for DurationObjectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<DurationObject, <DurationObject as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for DurationSmallwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for DurationSmallwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<DurationSmall, <DurationSmall as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for DurationValwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for DurationValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<DurationVal, <DurationVal as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I128Objectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for I128Objectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<I128Object, <I128Object as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I128Smallwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for I128Smallwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<I128Small, <I128Small as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I128Valwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for I128Valwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<I128Val, <I128Val as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I256where
E: Env,
impl<E> TryFromVal<E, RawVal> for I256where E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &RawVal ) -> Result<I256, <I256 as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I256Objectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for I256Objectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<I256Object, <I256Object as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I256Smallwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for I256Smallwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<I256Small, <I256Small as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I256Valwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for I256Valwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<I256Val, <I256Val as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I32Valwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for I32Valwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<I32Val, <I32Val as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I64Objectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for I64Objectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<I64Object, <I64Object as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I64Smallwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for I64Smallwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<I64Small, <I64Small as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for I64Valwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for I64Valwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<I64Val, <I64Val as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for LedgerKeyNonceObjectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for LedgerKeyNonceObjectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<LedgerKeyNonceObject, <LedgerKeyNonceObject as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for MapObjectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for MapObjectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<MapObject, <MapObject as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for Objectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for Objectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<Object, <Object as TryFromVal<E, RawVal>>::Error>
§impl<E, T> TryFromVal<E, RawVal> for Option<T>where
E: Env,
T: 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> TryFromVal<E, RawVal> for RawValwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<RawVal, <RawVal as TryFromVal<E, RawVal>>::Error>
§impl<E, T, R> TryFromVal<E, RawVal> for Result<T, R>where
E: Env,
T: TryFromVal<E, RawVal>,
R: TryFrom<Status>,
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> TryFromVal<E, RawVal> for ScValwhere
E: Env,
ScValObject: TryFromVal<E, Object>,
impl<E> TryFromVal<E, RawVal> for ScValwhere E: Env, ScValObject: 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 Statuswhere
E: Env,
impl<E> TryFromVal<E, RawVal> for Statuswhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<Status, <Status as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for Stringwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for Stringwhere E: Env,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<String, <String as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for StringObjectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for StringObjectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<StringObject, <StringObject as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for Symbolwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for Symbolwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<Symbol, <Symbol as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for SymbolObjectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for SymbolObjectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<SymbolObject, <SymbolObject as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for SymbolSmallwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for SymbolSmallwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<SymbolSmall, <SymbolSmall as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for TimepointObjectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for TimepointObjectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<TimepointObject, <TimepointObject as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for TimepointSmallwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for TimepointSmallwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<TimepointSmall, <TimepointSmall as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for TimepointValwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for TimepointValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<TimepointVal, <TimepointVal as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U128Objectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for U128Objectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<U128Object, <U128Object as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U128Smallwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for U128Smallwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<U128Small, <U128Small as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U128Valwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for U128Valwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<U128Val, <U128Val as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U256where
E: Env,
impl<E> TryFromVal<E, RawVal> for U256where E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &RawVal ) -> Result<U256, <U256 as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U256Objectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for U256Objectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<U256Object, <U256Object as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U256Smallwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for U256Smallwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<U256Small, <U256Small as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U256Valwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for U256Valwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<U256Val, <U256Val as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U32Valwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for U32Valwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<U32Val, <U32Val as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U64Objectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for U64Objectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<U64Object, <U64Object as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U64Smallwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for U64Smallwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<U64Small, <U64Small as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for U64Valwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for U64Valwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<U64Val, <U64Val as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for VecObjectwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for VecObjectwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<VecObject, <VecObject as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for Voidwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for Voidwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<Void, <Void as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for boolwhere
E: Env,
impl<E> TryFromVal<E, RawVal> for boolwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<bool, <bool as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for i128where
E: Env,
impl<E> TryFromVal<E, RawVal> for i128where E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &RawVal ) -> Result<i128, <i128 as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for i32where
E: Env,
impl<E> TryFromVal<E, RawVal> for i32where E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<i32, <i32 as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for i64where
E: Env,
impl<E> TryFromVal<E, RawVal> for i64where E: Env,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<i64, <i64 as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for u128where
E: Env,
impl<E> TryFromVal<E, RawVal> for u128where E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &RawVal ) -> Result<u128, <u128 as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for u32where
E: Env,
impl<E> TryFromVal<E, RawVal> for u32where E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &RawVal ) -> Result<u32, <u32 as TryFromVal<E, RawVal>>::Error>
§impl<E> TryFromVal<E, RawVal> for u64where
E: Env,
impl<E> TryFromVal<E, RawVal> for u64where E: Env,
type Error = ConversionError
fn try_from_val( env: &E, val: &RawVal ) -> Result<u64, <u64 as TryFromVal<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, T, R> TryFromVal<E, Result<T, R>> for RawValwhere E: Env, RawVal: TryFromVal<E, T>, Status: for<'a> TryFrom<&'a R>,
type Error = ConversionError
fn try_from_val( env: &E, v: &Result<T, R> ) -> Result<RawVal, <RawVal as TryFromVal<E, Result<T, R>>>::Error>
§impl<E> TryFromVal<E, ScVal> for RawValwhere
E: Env,
Object: for<'a> TryFromVal<E, ScValObjRef<'a>, Error = ConversionError>,
impl<E> TryFromVal<E, ScVal> for RawValwhere E: Env, Object: for<'a> TryFromVal<E, ScValObjRef<'a>, Error = ConversionError>,
type Error = ConversionError
fn try_from_val( env: &E, val: &ScVal ) -> Result<RawVal, <RawVal as TryFromVal<E, ScVal>>::Error>
§impl<E> TryFromVal<E, Status> for RawValwhere
E: Env,
impl<E> TryFromVal<E, Status> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Status ) -> Result<RawVal, <RawVal as TryFromVal<E, Status>>::Error>
§impl<E> TryFromVal<E, String> for RawValwhere
E: Env,
impl<E> TryFromVal<E, String> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &String ) -> Result<RawVal, <RawVal as TryFromVal<E, String>>::Error>
§impl<E> TryFromVal<E, StringObject> for RawValwhere
E: Env,
impl<E> TryFromVal<E, StringObject> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &StringObject ) -> Result<RawVal, <RawVal as TryFromVal<E, StringObject>>::Error>
§impl<E> TryFromVal<E, Symbol> for RawValwhere
E: Env,
impl<E> TryFromVal<E, Symbol> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Symbol ) -> Result<RawVal, <RawVal as TryFromVal<E, Symbol>>::Error>
§impl<E> TryFromVal<E, SymbolObject> for RawValwhere
E: Env,
impl<E> TryFromVal<E, SymbolObject> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &SymbolObject ) -> Result<RawVal, <RawVal as TryFromVal<E, SymbolObject>>::Error>
§impl<E> TryFromVal<E, SymbolSmall> for RawValwhere
E: Env,
impl<E> TryFromVal<E, SymbolSmall> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &SymbolSmall ) -> Result<RawVal, <RawVal as TryFromVal<E, SymbolSmall>>::Error>
§impl<E> TryFromVal<E, TimepointObject> for RawValwhere
E: Env,
impl<E> TryFromVal<E, TimepointObject> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &TimepointObject ) -> Result<RawVal, <RawVal as TryFromVal<E, TimepointObject>>::Error>
§impl<E> TryFromVal<E, TimepointSmall> for RawValwhere
E: Env,
impl<E> TryFromVal<E, TimepointSmall> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &TimepointSmall ) -> Result<RawVal, <RawVal as TryFromVal<E, TimepointSmall>>::Error>
§impl<E> TryFromVal<E, TimepointVal> for RawValwhere
E: Env,
impl<E> TryFromVal<E, TimepointVal> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &TimepointVal ) -> Result<RawVal, <RawVal as TryFromVal<E, TimepointVal>>::Error>
§impl<E> TryFromVal<E, U128Object> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U128Object> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U128Object ) -> Result<RawVal, <RawVal as TryFromVal<E, U128Object>>::Error>
§impl<E> TryFromVal<E, U128Small> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U128Small> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U128Small ) -> Result<RawVal, <RawVal as TryFromVal<E, U128Small>>::Error>
§impl<E> TryFromVal<E, U128Val> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U128Val> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U128Val ) -> Result<RawVal, <RawVal as TryFromVal<E, U128Val>>::Error>
§impl<E> TryFromVal<E, U256> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U256> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &U256 ) -> Result<RawVal, <RawVal as TryFromVal<E, U256>>::Error>
§impl<E> TryFromVal<E, U256Object> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U256Object> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U256Object ) -> Result<RawVal, <RawVal as TryFromVal<E, U256Object>>::Error>
§impl<E> TryFromVal<E, U256Small> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U256Small> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U256Small ) -> Result<RawVal, <RawVal as TryFromVal<E, U256Small>>::Error>
§impl<E> TryFromVal<E, U256Val> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U256Val> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U256Val ) -> Result<RawVal, <RawVal as TryFromVal<E, U256Val>>::Error>
§impl<E> TryFromVal<E, U32Val> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U32Val> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U32Val ) -> Result<RawVal, <RawVal as TryFromVal<E, U32Val>>::Error>
§impl<E> TryFromVal<E, U64Object> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U64Object> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U64Object ) -> Result<RawVal, <RawVal as TryFromVal<E, U64Object>>::Error>
§impl<E> TryFromVal<E, U64Small> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U64Small> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U64Small ) -> Result<RawVal, <RawVal as TryFromVal<E, U64Small>>::Error>
§impl<E> TryFromVal<E, U64Val> for RawValwhere
E: Env,
impl<E> TryFromVal<E, U64Val> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U64Val ) -> Result<RawVal, <RawVal as TryFromVal<E, U64Val>>::Error>
§impl<E> TryFromVal<E, VecObject> for RawValwhere
E: Env,
impl<E> TryFromVal<E, VecObject> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &VecObject ) -> Result<RawVal, <RawVal as TryFromVal<E, VecObject>>::Error>
§impl<E> TryFromVal<E, Void> for RawValwhere
E: Env,
impl<E> TryFromVal<E, Void> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Void ) -> Result<RawVal, <RawVal as TryFromVal<E, Void>>::Error>
§impl<E> TryFromVal<E, bool> for RawValwhere
E: Env,
impl<E> TryFromVal<E, bool> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &bool ) -> Result<RawVal, <RawVal as TryFromVal<E, bool>>::Error>
§impl<E> TryFromVal<E, i128> for RawValwhere
E: Env,
impl<E> TryFromVal<E, i128> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &i128 ) -> Result<RawVal, <RawVal as TryFromVal<E, i128>>::Error>
§impl<E> TryFromVal<E, i32> for RawValwhere
E: Env,
impl<E> TryFromVal<E, i32> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &i32 ) -> Result<RawVal, <RawVal as TryFromVal<E, i32>>::Error>
§impl<E> TryFromVal<E, i64> for RawValwhere
E: Env,
impl<E> TryFromVal<E, i64> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &i64 ) -> Result<RawVal, <RawVal as TryFromVal<E, i64>>::Error>
§impl<E> TryFromVal<E, u128> for RawValwhere
E: Env,
impl<E> TryFromVal<E, u128> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &u128 ) -> Result<RawVal, <RawVal as TryFromVal<E, u128>>::Error>
§impl<E> TryFromVal<E, u32> for RawValwhere
E: Env,
impl<E> TryFromVal<E, u32> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &u32 ) -> Result<RawVal, <RawVal as TryFromVal<E, u32>>::Error>
§impl<E> TryFromVal<E, u64> for RawValwhere
E: Env,
impl<E> TryFromVal<E, u64> for RawValwhere E: Env,
type Error = ConversionError
fn try_from_val( env: &E, v: &u64 ) -> Result<RawVal, <RawVal as TryFromVal<E, u64>>::Error>
source§impl TryFromVal<Env, &Address> for RawVal
impl TryFromVal<Env, &Address> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &&Address) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, &I256> for RawVal
impl TryFromVal<Env, &I256> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &&I256) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, &Symbol> for RawVal
impl TryFromVal<Env, &Symbol> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &&Symbol) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, &U256> for RawVal
impl TryFromVal<Env, &U256> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &&U256) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Address> for RawVal
impl TryFromVal<Env, Address> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &Address) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Bytes> for RawVal
impl TryFromVal<Env, Bytes> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &Bytes) -> Result<Self, Self::Error>
source§impl<const N: usize> TryFromVal<Env, BytesN<N>> for RawVal
impl<const N: usize> TryFromVal<Env, BytesN<N>> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &BytesN<N>) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Context> for RawVal
impl TryFromVal<Env, Context> for RawVal
type Error = ConversionError
fn try_from_val(env: &Env, val: &Context) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, I256> for RawVal
impl TryFromVal<Env, I256> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &I256) -> Result<Self, Self::Error>
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>,
impl<K, V> TryFromVal<Env, Map<K, V>> for RawValwhere K: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>, V: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,
type Error = Infallible
fn try_from_val(_env: &Env, v: &Map<K, V>) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, RawVal> for Address
impl TryFromVal<Env, RawVal> for Address
type Error = ConversionError
fn try_from_val(env: &Env, val: &RawVal) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, RawVal> for Bytes
impl TryFromVal<Env, RawVal> for Bytes
type Error = ConversionError
fn try_from_val(env: &Env, val: &RawVal) -> Result<Self, Self::Error>
source§impl<const N: usize> TryFromVal<Env, RawVal> for BytesN<N>
impl<const N: usize> TryFromVal<Env, RawVal> for BytesN<N>
type Error = ConversionError
fn try_from_val(env: &Env, val: &RawVal) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, RawVal> for Context
impl TryFromVal<Env, RawVal> for Context
type Error = ConversionError
fn try_from_val(env: &Env, val: &RawVal) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, RawVal> for I256
impl TryFromVal<Env, RawVal> for I256
type Error = ConversionError
fn try_from_val(env: &Env, val: &RawVal) -> Result<Self, Self::Error>
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>,
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 = ConversionError
fn try_from_val(env: &Env, val: &RawVal) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, RawVal> for String
impl TryFromVal<Env, RawVal> for String
type Error = ConversionError
fn try_from_val(env: &Env, val: &RawVal) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, RawVal> for Symbol
impl TryFromVal<Env, RawVal> for Symbol
type Error = ConversionError
fn try_from_val(env: &Env, val: &RawVal) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, RawVal> for U256
impl TryFromVal<Env, RawVal> for U256
type Error = ConversionError
fn try_from_val(env: &Env, val: &RawVal) -> Result<Self, Self::Error>
source§impl<T> TryFromVal<Env, RawVal> for Vec<T>where
T: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,
impl<T> TryFromVal<Env, RawVal> for Vec<T>where T: IntoVal<Env, RawVal> + TryFromVal<Env, RawVal>,
type Error = ConversionError
fn try_from_val(env: &Env, val: &RawVal) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, String> for RawVal
impl TryFromVal<Env, String> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &String) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Symbol> for RawVal
impl TryFromVal<Env, Symbol> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &Symbol) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, U256> for RawVal
impl TryFromVal<Env, U256> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &U256) -> Result<Self, Self::Error>
source§impl<T> TryFromVal<Env, Vec<T>> for RawVal
impl<T> TryFromVal<Env, Vec<T>> for RawVal
type Error = ConversionError
fn try_from_val(_env: &Env, v: &Vec<T>) -> Result<Self, Self::Error>
source§impl TryFromVal<Host, AccountEd25519Signature> for RawVal
impl TryFromVal<Host, AccountEd25519Signature> for RawVal
source§impl TryFromVal<Host, Address> for RawVal
impl TryFromVal<Host, Address> for RawVal
source§impl TryFromVal<Host, AllowanceDataKey> for RawVal
impl TryFromVal<Host, AllowanceDataKey> for RawVal
source§impl TryFromVal<Host, AlphaNum12AssetInfo> for RawVal
impl TryFromVal<Host, AlphaNum12AssetInfo> for RawVal
source§impl TryFromVal<Host, AlphaNum4AssetInfo> for RawVal
impl TryFromVal<Host, AlphaNum4AssetInfo> for RawVal
source§impl TryFromVal<Host, AssetInfo> for RawVal
impl TryFromVal<Host, AssetInfo> for RawVal
source§impl TryFromVal<Host, AuthorizationContext> for RawVal
impl TryFromVal<Host, AuthorizationContext> for RawVal
source§impl TryFromVal<Host, BalanceValue> for RawVal
impl TryFromVal<Host, BalanceValue> for RawVal
source§impl TryFromVal<Host, Bytes> for RawVal
impl TryFromVal<Host, Bytes> for RawVal
source§impl TryFromVal<Host, ContractExecutable> for RawVal
impl TryFromVal<Host, ContractExecutable> for RawVal
source§impl TryFromVal<Host, DataKey> for RawVal
impl TryFromVal<Host, DataKey> for RawVal
source§impl TryFromVal<Host, Map> for RawVal
impl TryFromVal<Host, Map> for RawVal
source§impl TryFromVal<Host, TokenMetadata> for RawVal
impl TryFromVal<Host, TokenMetadata> for RawVal
source§impl TryFromVal<Host, Vec> for RawVal
impl TryFromVal<Host, Vec> for RawVal
impl Copy for RawVal
Auto Trait Implementations§
impl RefUnwindSafe for RawVal
impl Send for RawVal
impl Sync for RawVal
impl Unpin for RawVal
impl UnwindSafe for RawVal
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U, V, E, C> Compare<(T, U, V)> for Cwhere
C: Compare<T, Error = E, Error = E, Error = E> + Compare<U> + Compare<V>,
impl<T, U, V, E, C> Compare<(T, U, V)> for Cwhere C: Compare<T, Error = E, Error = E, Error = E> + Compare<U> + Compare<V>,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.