Struct soroban_sdk::Val
pub struct Val(/* private fields */);
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 Val
impl Val
pub const fn can_represent_scval_type(scv_ty: ScValType) -> bool
pub const fn can_represent_scval_type(scv_ty: ScValType) -> bool
Some ScVals are not representable as Vals at all, and only exist in the XDR to serve as special storage system key or value payloads managed by the Host.
pub fn can_represent_scval(scv: &ScVal) -> bool
pub fn is_good(self) -> bool
pub fn is_good(self) -> bool
We define a “good” Val as one that has one of the allowed tag values, all the defined body-bits for its case set to valid values, and all the undefined body-bits set to zero.
pub const fn get_payload(self) -> u64
pub const fn from_payload(x: u64) -> Val
pub const fn shallow_eq(&self, other: &Val) -> bool
pub const fn get_tag(self) -> Tag
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
Trait Implementations§
§impl CheckedEnvArg for Val
impl CheckedEnvArg for Val
fn check_env_arg<E>(self, e: &E) -> Result<Val, <E as EnvBase>::Error>where
E: Env,
source§impl SorobanArbitrary for Val
Available on crate feature testutils
only.
impl SorobanArbitrary for Val
Available on crate feature
testutils
only.§type Prototype = ArbitraryVal
type Prototype = ArbitraryVal
A type that implements
Arbitrary
and can be converted to this
SorobanArbitrary
type.§impl<E> TryFromVal<E, &[u8]> for Valwhere
E: Env,
impl<E> TryFromVal<E, &[u8]> for Valwhere
E: Env,
§impl<E> TryFromVal<E, &str> for Valwhere
E: Env,
impl<E> TryFromVal<E, &str> for Valwhere
E: Env,
§impl<E> TryFromVal<E, ()> for Valwhere
E: Env,
impl<E> TryFromVal<E, ()> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &() ) -> Result<Val, <Val as TryFromVal<E, ()>>::Error>
§impl<E, T0> TryFromVal<E, (T0,)> for Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
impl<E, T0> TryFromVal<E, (T0,)> for Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
§impl<E, T0, T1> TryFromVal<E, (T0, T1)> for Val
impl<E, T0, T1> TryFromVal<E, (T0, T1)> for Val
§impl<E, T0, T1, T2> TryFromVal<E, (T0, T1, T2)> for Val
impl<E, T0, T1, T2> TryFromVal<E, (T0, T1, T2)> for Val
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2) ) -> Result<Val, <Val as TryFromVal<E, (T0, T1, T2)>>::Error>
§impl<E, T0, T1, T2, T3> TryFromVal<E, (T0, T1, T2, T3)> for Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
impl<E, T0, T1, T2, T3> TryFromVal<E, (T0, T1, T2, T3)> for Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3) ) -> Result<Val, <Val as TryFromVal<E, (T0, T1, T2, T3)>>::Error>
§impl<E, T0, T1, T2, T3, T4> TryFromVal<E, (T0, T1, T2, T3, T4)> for Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
impl<E, T0, T1, T2, T3, T4> TryFromVal<E, (T0, T1, T2, T3, T4)> for Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4) ) -> Result<Val, <Val 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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5> TryFromVal<E, (T0, T1, T2, T3, T4, T5)> for Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5) ) -> Result<Val, <Val 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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6)> for Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6) ) -> Result<Val, <Val 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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7)> for Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7) ) -> Result<Val, <Val 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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> for Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8) ) -> Result<Val, <Val 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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) ) -> Result<Val, <Val 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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ) -> Result<Val, <Val 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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
T11: TryIntoVal<E, Val>,
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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
T11: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ) -> Result<Val, <Val 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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
T11: TryIntoVal<E, Val>,
T12: TryIntoVal<E, Val>,
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 Valwhere
E: Env,
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
T11: TryIntoVal<E, Val>,
T12: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ) -> Result<Val, <Val as TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)>>::Error>
§impl<E> TryFromVal<E, AddressObject> for Valwhere
E: Env,
impl<E> TryFromVal<E, AddressObject> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &AddressObject ) -> Result<Val, <Val as TryFromVal<E, AddressObject>>::Error>
§impl<E> TryFromVal<E, Bool> for Valwhere
E: Env,
impl<E> TryFromVal<E, Bool> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Bool ) -> Result<Val, <Val as TryFromVal<E, Bool>>::Error>
§impl<E> TryFromVal<E, BytesObject> for Valwhere
E: Env,
impl<E> TryFromVal<E, BytesObject> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &BytesObject ) -> Result<Val, <Val as TryFromVal<E, BytesObject>>::Error>
§impl<E> TryFromVal<E, DurationObject> for Valwhere
E: Env,
impl<E> TryFromVal<E, DurationObject> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &DurationObject ) -> Result<Val, <Val as TryFromVal<E, DurationObject>>::Error>
§impl<E> TryFromVal<E, DurationSmall> for Valwhere
E: Env,
impl<E> TryFromVal<E, DurationSmall> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &DurationSmall ) -> Result<Val, <Val as TryFromVal<E, DurationSmall>>::Error>
§impl<E> TryFromVal<E, DurationVal> for Valwhere
E: Env,
impl<E> TryFromVal<E, DurationVal> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &DurationVal ) -> Result<Val, <Val as TryFromVal<E, DurationVal>>::Error>
§impl<E> TryFromVal<E, Error> for Valwhere
E: Env,
impl<E> TryFromVal<E, Error> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Error ) -> Result<Val, <Val as TryFromVal<E, Error>>::Error>
§impl<E> TryFromVal<E, I128Object> for Valwhere
E: Env,
impl<E> TryFromVal<E, I128Object> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I128Object ) -> Result<Val, <Val as TryFromVal<E, I128Object>>::Error>
§impl<E> TryFromVal<E, I128Small> for Valwhere
E: Env,
impl<E> TryFromVal<E, I128Small> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I128Small ) -> Result<Val, <Val as TryFromVal<E, I128Small>>::Error>
§impl<E> TryFromVal<E, I128Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, I128Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I128Val ) -> Result<Val, <Val as TryFromVal<E, I128Val>>::Error>
§impl<E> TryFromVal<E, I256> for Valwhere
E: Env,
impl<E> TryFromVal<E, I256> for Valwhere
E: Env,
type Error = Error
fn try_from_val( env: &E, v: &I256 ) -> Result<Val, <Val as TryFromVal<E, I256>>::Error>
§impl<E> TryFromVal<E, I256Object> for Valwhere
E: Env,
impl<E> TryFromVal<E, I256Object> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I256Object ) -> Result<Val, <Val as TryFromVal<E, I256Object>>::Error>
§impl<E> TryFromVal<E, I256Small> for Valwhere
E: Env,
impl<E> TryFromVal<E, I256Small> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I256Small ) -> Result<Val, <Val as TryFromVal<E, I256Small>>::Error>
§impl<E> TryFromVal<E, I256Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, I256Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I256Val ) -> Result<Val, <Val as TryFromVal<E, I256Val>>::Error>
§impl<E> TryFromVal<E, I32Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, I32Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I32Val ) -> Result<Val, <Val as TryFromVal<E, I32Val>>::Error>
§impl<E> TryFromVal<E, I64Object> for Valwhere
E: Env,
impl<E> TryFromVal<E, I64Object> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I64Object ) -> Result<Val, <Val as TryFromVal<E, I64Object>>::Error>
§impl<E> TryFromVal<E, I64Small> for Valwhere
E: Env,
impl<E> TryFromVal<E, I64Small> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I64Small ) -> Result<Val, <Val as TryFromVal<E, I64Small>>::Error>
§impl<E> TryFromVal<E, I64Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, I64Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &I64Val ) -> Result<Val, <Val as TryFromVal<E, I64Val>>::Error>
§impl<E> TryFromVal<E, MapObject> for Valwhere
E: Env,
impl<E> TryFromVal<E, MapObject> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &MapObject ) -> Result<Val, <Val as TryFromVal<E, MapObject>>::Error>
§impl<E> TryFromVal<E, Object> for Valwhere
E: Env,
impl<E> TryFromVal<E, Object> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Object ) -> Result<Val, <Val as TryFromVal<E, Object>>::Error>
§impl<E, T> TryFromVal<E, Option<T>> for Valwhere
E: Env,
T: TryIntoVal<E, Val>,
impl<E, T> TryFromVal<E, Option<T>> for Valwhere
E: Env,
T: TryIntoVal<E, Val>,
type Error = <T as TryIntoVal<E, Val>>::Error
fn try_from_val( env: &E, v: &Option<T> ) -> Result<Val, <Val as TryFromVal<E, Option<T>>>::Error>
§impl<E, T, R> TryFromVal<E, Result<T, R>> for Val
impl<E, T, R> TryFromVal<E, Result<T, R>> for Val
§impl<E> TryFromVal<E, ScVal> for Valwhere
E: Env,
Object: for<'a> TryFromVal<E, ScValObjRef<'a>, Error = ConversionError>,
impl<E> TryFromVal<E, ScVal> for Valwhere
E: Env,
Object: for<'a> TryFromVal<E, ScValObjRef<'a>, Error = ConversionError>,
type Error = ConversionError
fn try_from_val( env: &E, val: &ScVal ) -> Result<Val, <Val as TryFromVal<E, ScVal>>::Error>
§impl<E> TryFromVal<E, String> for Valwhere
E: Env,
impl<E> TryFromVal<E, String> for Valwhere
E: Env,
§impl<E> TryFromVal<E, StringObject> for Valwhere
E: Env,
impl<E> TryFromVal<E, StringObject> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &StringObject ) -> Result<Val, <Val as TryFromVal<E, StringObject>>::Error>
§impl<E> TryFromVal<E, Symbol> for Valwhere
E: Env,
impl<E> TryFromVal<E, Symbol> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Symbol ) -> Result<Val, <Val as TryFromVal<E, Symbol>>::Error>
§impl<E> TryFromVal<E, SymbolObject> for Valwhere
E: Env,
impl<E> TryFromVal<E, SymbolObject> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &SymbolObject ) -> Result<Val, <Val as TryFromVal<E, SymbolObject>>::Error>
§impl<E> TryFromVal<E, SymbolSmall> for Valwhere
E: Env,
impl<E> TryFromVal<E, SymbolSmall> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &SymbolSmall ) -> Result<Val, <Val as TryFromVal<E, SymbolSmall>>::Error>
§impl<E> TryFromVal<E, TimepointObject> for Valwhere
E: Env,
impl<E> TryFromVal<E, TimepointObject> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &TimepointObject ) -> Result<Val, <Val as TryFromVal<E, TimepointObject>>::Error>
§impl<E> TryFromVal<E, TimepointSmall> for Valwhere
E: Env,
impl<E> TryFromVal<E, TimepointSmall> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &TimepointSmall ) -> Result<Val, <Val as TryFromVal<E, TimepointSmall>>::Error>
§impl<E> TryFromVal<E, TimepointVal> for Valwhere
E: Env,
impl<E> TryFromVal<E, TimepointVal> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &TimepointVal ) -> Result<Val, <Val as TryFromVal<E, TimepointVal>>::Error>
§impl<E> TryFromVal<E, U128Object> for Valwhere
E: Env,
impl<E> TryFromVal<E, U128Object> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U128Object ) -> Result<Val, <Val as TryFromVal<E, U128Object>>::Error>
§impl<E> TryFromVal<E, U128Small> for Valwhere
E: Env,
impl<E> TryFromVal<E, U128Small> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U128Small ) -> Result<Val, <Val as TryFromVal<E, U128Small>>::Error>
§impl<E> TryFromVal<E, U128Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, U128Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U128Val ) -> Result<Val, <Val as TryFromVal<E, U128Val>>::Error>
§impl<E> TryFromVal<E, U256> for Valwhere
E: Env,
impl<E> TryFromVal<E, U256> for Valwhere
E: Env,
type Error = Error
fn try_from_val( env: &E, v: &U256 ) -> Result<Val, <Val as TryFromVal<E, U256>>::Error>
§impl<E> TryFromVal<E, U256Object> for Valwhere
E: Env,
impl<E> TryFromVal<E, U256Object> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U256Object ) -> Result<Val, <Val as TryFromVal<E, U256Object>>::Error>
§impl<E> TryFromVal<E, U256Small> for Valwhere
E: Env,
impl<E> TryFromVal<E, U256Small> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U256Small ) -> Result<Val, <Val as TryFromVal<E, U256Small>>::Error>
§impl<E> TryFromVal<E, U256Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, U256Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U256Val ) -> Result<Val, <Val as TryFromVal<E, U256Val>>::Error>
§impl<E> TryFromVal<E, U32Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, U32Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U32Val ) -> Result<Val, <Val as TryFromVal<E, U32Val>>::Error>
§impl<E> TryFromVal<E, U64Object> for Valwhere
E: Env,
impl<E> TryFromVal<E, U64Object> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U64Object ) -> Result<Val, <Val as TryFromVal<E, U64Object>>::Error>
§impl<E> TryFromVal<E, U64Small> for Valwhere
E: Env,
impl<E> TryFromVal<E, U64Small> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U64Small ) -> Result<Val, <Val as TryFromVal<E, U64Small>>::Error>
§impl<E> TryFromVal<E, U64Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, U64Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U64Val ) -> Result<Val, <Val as TryFromVal<E, U64Val>>::Error>
§impl<E> TryFromVal<E, Val> for ()where
E: Env,
impl<E> TryFromVal<E, Val> for ()where
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<(), <() as TryFromVal<E, Val>>::Error>
§impl<E, T0> TryFromVal<E, Val> for (T0,)where
E: Env,
T0: TryFromVal<E, Val>,
impl<E, T0> TryFromVal<E, Val> for (T0,)where
E: Env,
T0: TryFromVal<E, Val>,
§impl<E, T0, T1> TryFromVal<E, Val> for (T0, T1)
impl<E, T0, T1> TryFromVal<E, Val> for (T0, T1)
§impl<E, T0, T1, T2> TryFromVal<E, Val> for (T0, T1, T2)
impl<E, T0, T1, T2> TryFromVal<E, Val> for (T0, T1, T2)
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> Result<(T0, T1, T2), <(T0, T1, T2) as TryFromVal<E, Val>>::Error>
§impl<E, T0, T1, T2, T3> TryFromVal<E, Val> for (T0, T1, T2, T3)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
impl<E, T0, T1, T2, T3> TryFromVal<E, Val> for (T0, T1, T2, T3)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> Result<(T0, T1, T2, T3), <(T0, T1, T2, T3) as TryFromVal<E, Val>>::Error>
§impl<E, T0, T1, T2, T3, T4> TryFromVal<E, Val> for (T0, T1, T2, T3, T4)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
impl<E, T0, T1, T2, T3, T4> TryFromVal<E, Val> for (T0, T1, T2, T3, T4)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> Result<(T0, T1, T2, T3, T4), <(T0, T1, T2, T3, T4) as TryFromVal<E, Val>>::Error>
§impl<E, T0, T1, T2, T3, T4, T5> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> Result<(T0, T1, T2, T3, T4, T5), <(T0, T1, T2, T3, T4, T5) as TryFromVal<E, Val>>::Error>
§impl<E, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> Result<(T0, T1, T2, T3, T4, T5, T6), <(T0, T1, T2, T3, T4, T5, T6) as TryFromVal<E, Val>>::Error>
§impl<E, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7), <(T0, T1, T2, T3, T4, T5, T6, T7) as TryFromVal<E, Val>>::Error>
§impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8), <(T0, T1, T2, T3, T4, T5, T6, T7, T8) as TryFromVal<E, Val>>::Error>
§impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9), <(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) as TryFromVal<E, Val>>::Error>
§impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> 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, Val>>::Error>
§impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
T11: TryFromVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
T11: TryFromVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> 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, Val>>::Error>
§impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
T11: TryFromVal<E, Val>,
T12: TryFromVal<E, Val>,
impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where
E: Env,
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
T11: TryFromVal<E, Val>,
T12: TryFromVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, val: &Val ) -> 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, Val>>::Error>
§impl<E> TryFromVal<E, Val> for AddressObjectwhere
E: Env,
impl<E> TryFromVal<E, Val> for AddressObjectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<AddressObject, <AddressObject as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for Boolwhere
E: Env,
impl<E> TryFromVal<E, Val> for Boolwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<Bool, <Bool as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for BytesObjectwhere
E: Env,
impl<E> TryFromVal<E, Val> for BytesObjectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<BytesObject, <BytesObject as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for DurationObjectwhere
E: Env,
impl<E> TryFromVal<E, Val> for DurationObjectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<DurationObject, <DurationObject as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for DurationSmallwhere
E: Env,
impl<E> TryFromVal<E, Val> for DurationSmallwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<DurationSmall, <DurationSmall as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for DurationValwhere
E: Env,
impl<E> TryFromVal<E, Val> for DurationValwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<DurationVal, <DurationVal as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for Errorwhere
E: Env,
impl<E> TryFromVal<E, Val> for Errorwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<Error, <Error as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I128Objectwhere
E: Env,
impl<E> TryFromVal<E, Val> for I128Objectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<I128Object, <I128Object as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I128Smallwhere
E: Env,
impl<E> TryFromVal<E, Val> for I128Smallwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<I128Small, <I128Small as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I128Valwhere
E: Env,
impl<E> TryFromVal<E, Val> for I128Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<I128Val, <I128Val as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I256where
E: Env,
impl<E> TryFromVal<E, Val> for I256where
E: Env,
type Error = Error
fn try_from_val( env: &E, v: &Val ) -> Result<I256, <I256 as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I256Objectwhere
E: Env,
impl<E> TryFromVal<E, Val> for I256Objectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<I256Object, <I256Object as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I256Smallwhere
E: Env,
impl<E> TryFromVal<E, Val> for I256Smallwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<I256Small, <I256Small as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I256Valwhere
E: Env,
impl<E> TryFromVal<E, Val> for I256Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<I256Val, <I256Val as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I32Valwhere
E: Env,
impl<E> TryFromVal<E, Val> for I32Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<I32Val, <I32Val as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I64Objectwhere
E: Env,
impl<E> TryFromVal<E, Val> for I64Objectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<I64Object, <I64Object as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I64Smallwhere
E: Env,
impl<E> TryFromVal<E, Val> for I64Smallwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<I64Small, <I64Small as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for I64Valwhere
E: Env,
impl<E> TryFromVal<E, Val> for I64Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<I64Val, <I64Val as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for MapObjectwhere
E: Env,
impl<E> TryFromVal<E, Val> for MapObjectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<MapObject, <MapObject as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for Objectwhere
E: Env,
impl<E> TryFromVal<E, Val> for Objectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<Object, <Object as TryFromVal<E, Val>>::Error>
§impl<E, T> TryFromVal<E, Val> for Option<T>where
E: Env,
T: TryFromVal<E, Val>,
impl<E, T> TryFromVal<E, Val> for Option<T>where
E: Env,
T: TryFromVal<E, Val>,
type Error = <T as TryFromVal<E, Val>>::Error
fn try_from_val( env: &E, val: &Val ) -> Result<Option<T>, <Option<T> as TryFromVal<E, Val>>::Error>
§impl<E, T, R> TryFromVal<E, Val> for Result<T, R>
impl<E, T, R> TryFromVal<E, Val> for Result<T, R>
§impl<E> TryFromVal<E, Val> for ScValwhere
E: Env,
ScValObject: TryFromVal<E, Object>,
impl<E> TryFromVal<E, Val> for ScValwhere
E: Env,
ScValObject: TryFromVal<E, Object>,
type Error = ConversionError
fn try_from_val(env: &E, val: &Val) -> Result<ScVal, ConversionError>
§impl<E> TryFromVal<E, Val> for Stringwhere
E: Env,
impl<E> TryFromVal<E, Val> for Stringwhere
E: Env,
§impl<E> TryFromVal<E, Val> for StringObjectwhere
E: Env,
impl<E> TryFromVal<E, Val> for StringObjectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<StringObject, <StringObject as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for Symbolwhere
E: Env,
impl<E> TryFromVal<E, Val> for Symbolwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<Symbol, <Symbol as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for SymbolObjectwhere
E: Env,
impl<E> TryFromVal<E, Val> for SymbolObjectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<SymbolObject, <SymbolObject as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for SymbolSmallwhere
E: Env,
impl<E> TryFromVal<E, Val> for SymbolSmallwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<SymbolSmall, <SymbolSmall as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for TimepointObjectwhere
E: Env,
impl<E> TryFromVal<E, Val> for TimepointObjectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<TimepointObject, <TimepointObject as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for TimepointSmallwhere
E: Env,
impl<E> TryFromVal<E, Val> for TimepointSmallwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<TimepointSmall, <TimepointSmall as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for TimepointValwhere
E: Env,
impl<E> TryFromVal<E, Val> for TimepointValwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<TimepointVal, <TimepointVal as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U128Objectwhere
E: Env,
impl<E> TryFromVal<E, Val> for U128Objectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<U128Object, <U128Object as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U128Smallwhere
E: Env,
impl<E> TryFromVal<E, Val> for U128Smallwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<U128Small, <U128Small as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U128Valwhere
E: Env,
impl<E> TryFromVal<E, Val> for U128Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<U128Val, <U128Val as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U256where
E: Env,
impl<E> TryFromVal<E, Val> for U256where
E: Env,
type Error = Error
fn try_from_val( env: &E, v: &Val ) -> Result<U256, <U256 as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U256Objectwhere
E: Env,
impl<E> TryFromVal<E, Val> for U256Objectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<U256Object, <U256Object as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U256Smallwhere
E: Env,
impl<E> TryFromVal<E, Val> for U256Smallwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<U256Small, <U256Small as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U256Valwhere
E: Env,
impl<E> TryFromVal<E, Val> for U256Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<U256Val, <U256Val as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U32Valwhere
E: Env,
impl<E> TryFromVal<E, Val> for U32Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<U32Val, <U32Val as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U64Objectwhere
E: Env,
impl<E> TryFromVal<E, Val> for U64Objectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<U64Object, <U64Object as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U64Smallwhere
E: Env,
impl<E> TryFromVal<E, Val> for U64Smallwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<U64Small, <U64Small as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for U64Valwhere
E: Env,
impl<E> TryFromVal<E, Val> for U64Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<U64Val, <U64Val as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<Val, <Val as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for Vec<u8>where
E: Env,
impl<E> TryFromVal<E, Val> for Vec<u8>where
E: Env,
§impl<E> TryFromVal<E, Val> for VecObjectwhere
E: Env,
impl<E> TryFromVal<E, Val> for VecObjectwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<VecObject, <VecObject as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for Voidwhere
E: Env,
impl<E> TryFromVal<E, Val> for Voidwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<Void, <Void as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for boolwhere
E: Env,
impl<E> TryFromVal<E, Val> for boolwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<bool, <bool as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for i128where
E: Env,
impl<E> TryFromVal<E, Val> for i128where
E: Env,
§impl<E> TryFromVal<E, Val> for i32where
E: Env,
impl<E> TryFromVal<E, Val> for i32where
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<i32, <i32 as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for i64where
E: Env,
impl<E> TryFromVal<E, Val> for i64where
E: Env,
§impl<E> TryFromVal<E, Val> for u128where
E: Env,
impl<E> TryFromVal<E, Val> for u128where
E: Env,
§impl<E> TryFromVal<E, Val> for u32where
E: Env,
impl<E> TryFromVal<E, Val> for u32where
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val ) -> Result<u32, <u32 as TryFromVal<E, Val>>::Error>
§impl<E> TryFromVal<E, Val> for u64where
E: Env,
impl<E> TryFromVal<E, Val> for u64where
E: Env,
§impl<E> TryFromVal<E, Vec<u8>> for Valwhere
E: Env,
impl<E> TryFromVal<E, Vec<u8>> for Valwhere
E: Env,
§impl<E> TryFromVal<E, VecObject> for Valwhere
E: Env,
impl<E> TryFromVal<E, VecObject> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &VecObject ) -> Result<Val, <Val as TryFromVal<E, VecObject>>::Error>
§impl<E> TryFromVal<E, Void> for Valwhere
E: Env,
impl<E> TryFromVal<E, Void> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Void ) -> Result<Val, <Val as TryFromVal<E, Void>>::Error>
§impl<E> TryFromVal<E, bool> for Valwhere
E: Env,
impl<E> TryFromVal<E, bool> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &bool ) -> Result<Val, <Val as TryFromVal<E, bool>>::Error>
§impl<E> TryFromVal<E, i128> for Valwhere
E: Env,
impl<E> TryFromVal<E, i128> for Valwhere
E: Env,
§impl<E> TryFromVal<E, i32> for Valwhere
E: Env,
impl<E> TryFromVal<E, i32> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &i32 ) -> Result<Val, <Val as TryFromVal<E, i32>>::Error>
§impl<E> TryFromVal<E, i64> for Valwhere
E: Env,
impl<E> TryFromVal<E, i64> for Valwhere
E: Env,
§impl<E> TryFromVal<E, u128> for Valwhere
E: Env,
impl<E> TryFromVal<E, u128> for Valwhere
E: Env,
§impl<E> TryFromVal<E, u32> for Valwhere
E: Env,
impl<E> TryFromVal<E, u32> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &u32 ) -> Result<Val, <Val as TryFromVal<E, u32>>::Error>
§impl<E> TryFromVal<E, u64> for Valwhere
E: Env,
impl<E> TryFromVal<E, u64> for Valwhere
E: Env,
source§impl TryFromVal<Env, &Address> for Val
impl TryFromVal<Env, &Address> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &&Address) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, &Duration> for Val
impl TryFromVal<Env, &Duration> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &&Duration) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, &I256> for Val
impl TryFromVal<Env, &I256> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &&I256) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, &Symbol> for Val
impl TryFromVal<Env, &Symbol> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &&Symbol) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, &Timepoint> for Val
impl TryFromVal<Env, &Timepoint> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &&Timepoint) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, &U256> for Val
impl TryFromVal<Env, &U256> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &&U256) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Address> for Val
impl TryFromVal<Env, Address> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &Address) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Bytes> for Val
impl TryFromVal<Env, Bytes> for Val
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 Val
impl<const N: usize> TryFromVal<Env, BytesN<N>> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &BytesN<N>) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Context> for Val
impl TryFromVal<Env, Context> for Val
type Error = ConversionError
fn try_from_val(env: &Env, val: &Context) -> Result<Self, ConversionError>
source§impl TryFromVal<Env, ContractContext> for Val
impl TryFromVal<Env, ContractContext> for Val
type Error = ConversionError
fn try_from_val( env: &Env, val: &ContractContext ) -> Result<Self, ConversionError>
source§impl TryFromVal<Env, ContractExecutable> for Val
impl TryFromVal<Env, ContractExecutable> for Val
type Error = ConversionError
fn try_from_val( env: &Env, val: &ContractExecutable ) -> Result<Self, ConversionError>
source§impl TryFromVal<Env, CreateContractHostFnContext> for Val
impl TryFromVal<Env, CreateContractHostFnContext> for Val
type Error = ConversionError
fn try_from_val( env: &Env, val: &CreateContractHostFnContext ) -> Result<Self, ConversionError>
source§impl TryFromVal<Env, Duration> for Val
impl TryFromVal<Env, Duration> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &Duration) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, I256> for Val
impl TryFromVal<Env, I256> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &I256) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, InvokerContractAuthEntry> for Val
impl TryFromVal<Env, InvokerContractAuthEntry> for Val
type Error = ConversionError
fn try_from_val( env: &Env, val: &InvokerContractAuthEntry ) -> Result<Self, ConversionError>
source§impl<K, V> TryFromVal<Env, Map<K, V>> for Val
impl<K, V> TryFromVal<Env, Map<K, V>> for Val
type Error = Infallible
fn try_from_val(_env: &Env, v: &Map<K, V>) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, String> for Val
impl TryFromVal<Env, String> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &String) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, SubContractInvocation> for Val
impl TryFromVal<Env, SubContractInvocation> for Val
type Error = ConversionError
fn try_from_val( env: &Env, val: &SubContractInvocation ) -> Result<Self, ConversionError>
source§impl TryFromVal<Env, Symbol> for Val
impl TryFromVal<Env, Symbol> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &Symbol) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Timepoint> for Val
impl TryFromVal<Env, Timepoint> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &Timepoint) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, U256> for Val
impl TryFromVal<Env, U256> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &U256) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Val> for Address
impl TryFromVal<Env, Val> for Address
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Val> for Bytes
impl TryFromVal<Env, Val> for Bytes
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl<const N: usize> TryFromVal<Env, Val> for BytesN<N>
impl<const N: usize> TryFromVal<Env, Val> for BytesN<N>
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Val> for Context
impl TryFromVal<Env, Val> for Context
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, ConversionError>
source§impl TryFromVal<Env, Val> for ContractContext
impl TryFromVal<Env, Val> for ContractContext
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, ConversionError>
source§impl TryFromVal<Env, Val> for ContractExecutable
impl TryFromVal<Env, Val> for ContractExecutable
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, ConversionError>
source§impl TryFromVal<Env, Val> for CreateContractHostFnContext
impl TryFromVal<Env, Val> for CreateContractHostFnContext
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, ConversionError>
source§impl TryFromVal<Env, Val> for Duration
impl TryFromVal<Env, Val> for Duration
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Val> for I256
impl TryFromVal<Env, Val> for I256
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Val> for InvokerContractAuthEntry
impl TryFromVal<Env, Val> for InvokerContractAuthEntry
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, ConversionError>
source§impl<K, V> TryFromVal<Env, Val> for Map<K, V>
impl<K, V> TryFromVal<Env, Val> for Map<K, V>
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Val> for String
impl TryFromVal<Env, Val> for String
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Val> for SubContractInvocation
impl TryFromVal<Env, Val> for SubContractInvocation
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, ConversionError>
source§impl TryFromVal<Env, Val> for Symbol
impl TryFromVal<Env, Val> for Symbol
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Val> for Timepoint
impl TryFromVal<Env, Val> for Timepoint
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl TryFromVal<Env, Val> for U256
impl TryFromVal<Env, Val> for U256
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl<T> TryFromVal<Env, Val> for Vec<T>
impl<T> TryFromVal<Env, Val> for Vec<T>
type Error = ConversionError
fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>
source§impl<T> TryFromVal<Env, Vec<T>> for Val
impl<T> TryFromVal<Env, Vec<T>> for Val
type Error = ConversionError
fn try_from_val(_env: &Env, v: &Vec<T>) -> Result<Self, Self::Error>
source§impl TryFromVal<Host, AccountEd25519Signature> for Val
impl TryFromVal<Host, AccountEd25519Signature> for Val
source§impl TryFromVal<Host, Address> for Val
impl TryFromVal<Host, Address> for Val
source§impl TryFromVal<Host, AllowanceDataKey> for Val
impl TryFromVal<Host, AllowanceDataKey> for Val
source§impl TryFromVal<Host, AllowanceValue> for Val
impl TryFromVal<Host, AllowanceValue> for Val
source§impl TryFromVal<Host, AlphaNum12AssetInfo> for Val
impl TryFromVal<Host, AlphaNum12AssetInfo> for Val
source§impl TryFromVal<Host, AlphaNum4AssetInfo> for Val
impl TryFromVal<Host, AlphaNum4AssetInfo> for Val
source§impl TryFromVal<Host, AssetInfo> for Val
impl TryFromVal<Host, AssetInfo> for Val
source§impl TryFromVal<Host, AuthorizationContext> for Val
impl TryFromVal<Host, AuthorizationContext> for Val
source§impl TryFromVal<Host, BalanceValue> for Val
impl TryFromVal<Host, BalanceValue> for Val
source§impl TryFromVal<Host, ContractAuthorizationContext> for Val
impl TryFromVal<Host, ContractAuthorizationContext> for Val
source§impl TryFromVal<Host, ContractExecutable> for Val
impl TryFromVal<Host, ContractExecutable> for Val
source§impl TryFromVal<Host, CreateContractHostFnContext> for Val
impl TryFromVal<Host, CreateContractHostFnContext> for Val
source§impl TryFromVal<Host, DataKey> for Val
impl TryFromVal<Host, DataKey> for Val
source§impl TryFromVal<Host, InstanceDataKey> for Val
impl TryFromVal<Host, InstanceDataKey> for Val
source§impl TryFromVal<Host, InvokerContractAuthEntry> for Val
impl TryFromVal<Host, InvokerContractAuthEntry> for Val
source§impl TryFromVal<Host, StellarAssetContractMetadata> for Val
impl TryFromVal<Host, StellarAssetContractMetadata> for Val
source§impl TryFromVal<Host, String> for Val
impl TryFromVal<Host, String> for Val
source§impl TryFromVal<Host, SubContractInvocation> for Val
impl TryFromVal<Host, SubContractInvocation> for Val
source§impl TryFromVal<Host, Vec> for Val
impl TryFromVal<Host, Vec> for Val
§impl WasmiMarshal for Val
impl WasmiMarshal for Val
fn try_marshal_from_value(v: Value) -> Option<Val>
fn marshal_from_self(self) -> Value
impl Copy for Val
Auto Trait Implementations§
impl RefUnwindSafe for Val
impl Send for Val
impl Sync for Val
impl Unpin for Val
impl UnwindSafe for Val
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, U, V, W, E, C> Compare<(T, U, V, W)> for Cwhere
C: Compare<T, Error = E, Error = E, Error = E, Error = E> + Compare<U> + Compare<V> + Compare<W>,
impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for Cwhere
C: Compare<T, Error = E, Error = E, Error = E, Error = E> + Compare<U> + Compare<V> + Compare<W>,
type Error = E
fn compare( &self, a: &(T, U, V, W), b: &(T, U, V, W) ) -> Result<Ordering, <C as Compare<(T, U, V, W)>>::Error>
§impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for Cwhere
C: Compare<T, Error = E, Error = E, Error = E, Error = E, Error = E> + Compare<U> + Compare<V> + Compare<W> + Compare<X>,
impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for Cwhere
C: Compare<T, Error = E, Error = E, Error = E, Error = E, Error = E> + Compare<U> + Compare<V> + Compare<W> + Compare<X>,
type Error = E
fn compare( &self, a: &(T, U, V, W, X), b: &(T, U, V, W, X) ) -> Result<Ordering, <C as Compare<(T, U, V, W, X)>>::Error>
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
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.