pub struct Val(/* private fields */);
Implementations§
Source§impl Val
impl Val
Sourcepub 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.
Sourcepub fn can_represent_scval(scv: &ScVal) -> bool
pub fn can_represent_scval(scv: &ScVal) -> bool
Non-recursively checks whether ScVal
can be represented as Val
.
Since conversions from ScVal
are recursive themselves, this should
be called at every recursion level during conversion.
Sourcepub fn can_represent_scval_recursive(scv: &ScVal) -> bool
pub fn can_represent_scval_recursive(scv: &ScVal) -> bool
Recursively checks whether ScVal
can be represented as Val
.
This should only be used once per top-level ScVal
.
Sourcepub 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§
Source§impl AsMut<Val> for AddressObject
impl AsMut<Val> for AddressObject
Source§impl AsMut<Val> for BytesObject
impl AsMut<Val> for BytesObject
Source§impl AsMut<Val> for DurationObject
impl AsMut<Val> for DurationObject
Source§impl AsMut<Val> for DurationSmall
impl AsMut<Val> for DurationSmall
Source§impl AsMut<Val> for DurationVal
impl AsMut<Val> for DurationVal
Source§impl AsMut<Val> for I128Object
impl AsMut<Val> for I128Object
Source§impl AsMut<Val> for I256Object
impl AsMut<Val> for I256Object
Source§impl AsMut<Val> for StringObject
impl AsMut<Val> for StringObject
Source§impl AsMut<Val> for SymbolObject
impl AsMut<Val> for SymbolObject
Source§impl AsMut<Val> for SymbolSmall
impl AsMut<Val> for SymbolSmall
Source§impl AsMut<Val> for TimepointObject
impl AsMut<Val> for TimepointObject
Source§impl AsMut<Val> for TimepointSmall
impl AsMut<Val> for TimepointSmall
Source§impl AsMut<Val> for TimepointVal
impl AsMut<Val> for TimepointVal
Source§impl AsMut<Val> for U128Object
impl AsMut<Val> for U128Object
Source§impl AsMut<Val> for U256Object
impl AsMut<Val> for U256Object
Source§impl AsRef<Val> for AddressObject
impl AsRef<Val> for AddressObject
Source§impl AsRef<Val> for BytesObject
impl AsRef<Val> for BytesObject
Source§impl AsRef<Val> for DurationObject
impl AsRef<Val> for DurationObject
Source§impl AsRef<Val> for DurationSmall
impl AsRef<Val> for DurationSmall
Source§impl AsRef<Val> for DurationVal
impl AsRef<Val> for DurationVal
Source§impl AsRef<Val> for I128Object
impl AsRef<Val> for I128Object
Source§impl AsRef<Val> for I256Object
impl AsRef<Val> for I256Object
Source§impl AsRef<Val> for StringObject
impl AsRef<Val> for StringObject
Source§impl AsRef<Val> for SymbolObject
impl AsRef<Val> for SymbolObject
Source§impl AsRef<Val> for SymbolSmall
impl AsRef<Val> for SymbolSmall
Source§impl AsRef<Val> for TimepointObject
impl AsRef<Val> for TimepointObject
Source§impl AsRef<Val> for TimepointSmall
impl AsRef<Val> for TimepointSmall
Source§impl AsRef<Val> for TimepointVal
impl AsRef<Val> for TimepointVal
Source§impl AsRef<Val> for U128Object
impl AsRef<Val> for U128Object
Source§impl AsRef<Val> for U256Object
impl AsRef<Val> for U256Object
Source§impl CheckedEnvArg for Val
impl CheckedEnvArg for Val
Source§impl From<&AddressObject> for Val
impl From<&AddressObject> for Val
Source§fn from(b: &AddressObject) -> Val
fn from(b: &AddressObject) -> Val
Converts to this type from the input type.
Source§impl From<&BytesObject> for Val
impl From<&BytesObject> for Val
Source§fn from(b: &BytesObject) -> Val
fn from(b: &BytesObject) -> Val
Converts to this type from the input type.
Source§impl From<&DurationObject> for Val
impl From<&DurationObject> for Val
Source§fn from(b: &DurationObject) -> Val
fn from(b: &DurationObject) -> Val
Converts to this type from the input type.
Source§impl From<&DurationSmall> for Val
impl From<&DurationSmall> for Val
Source§fn from(b: &DurationSmall) -> Val
fn from(b: &DurationSmall) -> Val
Converts to this type from the input type.
Source§impl From<&DurationVal> for Val
impl From<&DurationVal> for Val
Source§fn from(b: &DurationVal) -> Val
fn from(b: &DurationVal) -> Val
Converts to this type from the input type.
Source§impl From<&I128Object> for Val
impl From<&I128Object> for Val
Source§fn from(b: &I128Object) -> Val
fn from(b: &I128Object) -> Val
Converts to this type from the input type.
Source§impl From<&I256Object> for Val
impl From<&I256Object> for Val
Source§fn from(b: &I256Object) -> Val
fn from(b: &I256Object) -> Val
Converts to this type from the input type.
Source§impl From<&StringObject> for Val
impl From<&StringObject> for Val
Source§fn from(b: &StringObject) -> Val
fn from(b: &StringObject) -> Val
Converts to this type from the input type.
Source§impl From<&SymbolObject> for Val
impl From<&SymbolObject> for Val
Source§fn from(b: &SymbolObject) -> Val
fn from(b: &SymbolObject) -> Val
Converts to this type from the input type.
Source§impl From<&SymbolSmall> for Val
impl From<&SymbolSmall> for Val
Source§fn from(b: &SymbolSmall) -> Val
fn from(b: &SymbolSmall) -> Val
Converts to this type from the input type.
Source§impl From<&TimepointObject> for Val
impl From<&TimepointObject> for Val
Source§fn from(b: &TimepointObject) -> Val
fn from(b: &TimepointObject) -> Val
Converts to this type from the input type.
Source§impl From<&TimepointSmall> for Val
impl From<&TimepointSmall> for Val
Source§fn from(b: &TimepointSmall) -> Val
fn from(b: &TimepointSmall) -> Val
Converts to this type from the input type.
Source§impl From<&TimepointVal> for Val
impl From<&TimepointVal> for Val
Source§fn from(b: &TimepointVal) -> Val
fn from(b: &TimepointVal) -> Val
Converts to this type from the input type.
Source§impl From<&U128Object> for Val
impl From<&U128Object> for Val
Source§fn from(b: &U128Object) -> Val
fn from(b: &U128Object) -> Val
Converts to this type from the input type.
Source§impl From<&U256Object> for Val
impl From<&U256Object> for Val
Source§fn from(b: &U256Object) -> Val
fn from(b: &U256Object) -> Val
Converts to this type from the input type.
Source§impl From<AddressObject> for Val
impl From<AddressObject> for Val
Source§fn from(b: AddressObject) -> Val
fn from(b: AddressObject) -> Val
Converts to this type from the input type.
Source§impl From<BytesObject> for Val
impl From<BytesObject> for Val
Source§fn from(b: BytesObject) -> Val
fn from(b: BytesObject) -> Val
Converts to this type from the input type.
Source§impl From<DurationObject> for Val
impl From<DurationObject> for Val
Source§fn from(b: DurationObject) -> Val
fn from(b: DurationObject) -> Val
Converts to this type from the input type.
Source§impl From<DurationSmall> for Val
impl From<DurationSmall> for Val
Source§fn from(b: DurationSmall) -> Val
fn from(b: DurationSmall) -> Val
Converts to this type from the input type.
Source§impl From<DurationVal> for Val
impl From<DurationVal> for Val
Source§fn from(b: DurationVal) -> Val
fn from(b: DurationVal) -> Val
Converts to this type from the input type.
Source§impl From<I128Object> for Val
impl From<I128Object> for Val
Source§fn from(b: I128Object) -> Val
fn from(b: I128Object) -> Val
Converts to this type from the input type.
Source§impl From<I256Object> for Val
impl From<I256Object> for Val
Source§fn from(b: I256Object) -> Val
fn from(b: I256Object) -> Val
Converts to this type from the input type.
Source§impl From<StringObject> for Val
impl From<StringObject> for Val
Source§fn from(b: StringObject) -> Val
fn from(b: StringObject) -> Val
Converts to this type from the input type.
Source§impl From<SymbolObject> for Val
impl From<SymbolObject> for Val
Source§fn from(b: SymbolObject) -> Val
fn from(b: SymbolObject) -> Val
Converts to this type from the input type.
Source§impl From<SymbolSmall> for Val
impl From<SymbolSmall> for Val
Source§fn from(b: SymbolSmall) -> Val
fn from(b: SymbolSmall) -> Val
Converts to this type from the input type.
Source§impl From<TimepointObject> for Val
impl From<TimepointObject> for Val
Source§fn from(b: TimepointObject) -> Val
fn from(b: TimepointObject) -> Val
Converts to this type from the input type.
Source§impl From<TimepointSmall> for Val
impl From<TimepointSmall> for Val
Source§fn from(b: TimepointSmall) -> Val
fn from(b: TimepointSmall) -> Val
Converts to this type from the input type.
Source§impl From<TimepointVal> for Val
impl From<TimepointVal> for Val
Source§fn from(b: TimepointVal) -> Val
fn from(b: TimepointVal) -> Val
Converts to this type from the input type.
Source§impl From<U128Object> for Val
impl From<U128Object> for Val
Source§fn from(b: U128Object) -> Val
fn from(b: U128Object) -> Val
Converts to this type from the input type.
Source§impl From<U256Object> for Val
impl From<U256Object> for Val
Source§fn from(b: U256Object) -> Val
fn from(b: U256Object) -> Val
Converts to this type from the input type.
Source§impl TryFrom<&Val> for AddressObject
impl TryFrom<&Val> for AddressObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<AddressObject, <AddressObject as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<AddressObject, <AddressObject as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for BytesObject
impl TryFrom<&Val> for BytesObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<BytesObject, <BytesObject as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<BytesObject, <BytesObject as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for DurationObject
impl TryFrom<&Val> for DurationObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<DurationObject, <DurationObject as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<DurationObject, <DurationObject as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for DurationSmall
impl TryFrom<&Val> for DurationSmall
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<DurationSmall, <DurationSmall as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<DurationSmall, <DurationSmall as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for DurationVal
impl TryFrom<&Val> for DurationVal
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<DurationVal, <DurationVal as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<DurationVal, <DurationVal as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for I128Object
impl TryFrom<&Val> for I128Object
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: &Val) -> Result<I128Object, <I128Object as TryFrom<&Val>>::Error>
fn try_from(v: &Val) -> Result<I128Object, <I128Object as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for I256Object
impl TryFrom<&Val> for I256Object
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: &Val) -> Result<I256Object, <I256Object as TryFrom<&Val>>::Error>
fn try_from(v: &Val) -> Result<I256Object, <I256Object as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for StringObject
impl TryFrom<&Val> for StringObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<StringObject, <StringObject as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<StringObject, <StringObject as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for SymbolObject
impl TryFrom<&Val> for SymbolObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<SymbolObject, <SymbolObject as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<SymbolObject, <SymbolObject as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for SymbolSmall
impl TryFrom<&Val> for SymbolSmall
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<SymbolSmall, <SymbolSmall as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<SymbolSmall, <SymbolSmall as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for TimepointObject
impl TryFrom<&Val> for TimepointObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<TimepointObject, <TimepointObject as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<TimepointObject, <TimepointObject as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for TimepointSmall
impl TryFrom<&Val> for TimepointSmall
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<TimepointSmall, <TimepointSmall as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<TimepointSmall, <TimepointSmall as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for TimepointVal
impl TryFrom<&Val> for TimepointVal
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: &Val,
) -> Result<TimepointVal, <TimepointVal as TryFrom<&Val>>::Error>
fn try_from( v: &Val, ) -> Result<TimepointVal, <TimepointVal as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for U128Object
impl TryFrom<&Val> for U128Object
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: &Val) -> Result<U128Object, <U128Object as TryFrom<&Val>>::Error>
fn try_from(v: &Val) -> Result<U128Object, <U128Object as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<&Val> for U256Object
impl TryFrom<&Val> for U256Object
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: &Val) -> Result<U256Object, <U256Object as TryFrom<&Val>>::Error>
fn try_from(v: &Val) -> Result<U256Object, <U256Object as TryFrom<&Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for AddressObject
impl TryFrom<Val> for AddressObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: Val,
) -> Result<AddressObject, <AddressObject as TryFrom<Val>>::Error>
fn try_from( v: Val, ) -> Result<AddressObject, <AddressObject as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for BytesObject
impl TryFrom<Val> for BytesObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: Val) -> Result<BytesObject, <BytesObject as TryFrom<Val>>::Error>
fn try_from(v: Val) -> Result<BytesObject, <BytesObject as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for DurationObject
impl TryFrom<Val> for DurationObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: Val,
) -> Result<DurationObject, <DurationObject as TryFrom<Val>>::Error>
fn try_from( v: Val, ) -> Result<DurationObject, <DurationObject as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for DurationSmall
impl TryFrom<Val> for DurationSmall
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: Val,
) -> Result<DurationSmall, <DurationSmall as TryFrom<Val>>::Error>
fn try_from( v: Val, ) -> Result<DurationSmall, <DurationSmall as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for DurationVal
impl TryFrom<Val> for DurationVal
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: Val) -> Result<DurationVal, <DurationVal as TryFrom<Val>>::Error>
fn try_from(v: Val) -> Result<DurationVal, <DurationVal as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for I128Object
impl TryFrom<Val> for I128Object
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: Val) -> Result<I128Object, <I128Object as TryFrom<Val>>::Error>
fn try_from(v: Val) -> Result<I128Object, <I128Object as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for I256Object
impl TryFrom<Val> for I256Object
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: Val) -> Result<I256Object, <I256Object as TryFrom<Val>>::Error>
fn try_from(v: Val) -> Result<I256Object, <I256Object as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for StringObject
impl TryFrom<Val> for StringObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: Val,
) -> Result<StringObject, <StringObject as TryFrom<Val>>::Error>
fn try_from( v: Val, ) -> Result<StringObject, <StringObject as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for SymbolObject
impl TryFrom<Val> for SymbolObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: Val,
) -> Result<SymbolObject, <SymbolObject as TryFrom<Val>>::Error>
fn try_from( v: Val, ) -> Result<SymbolObject, <SymbolObject as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for SymbolSmall
impl TryFrom<Val> for SymbolSmall
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: Val) -> Result<SymbolSmall, <SymbolSmall as TryFrom<Val>>::Error>
fn try_from(v: Val) -> Result<SymbolSmall, <SymbolSmall as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for TimepointObject
impl TryFrom<Val> for TimepointObject
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: Val,
) -> Result<TimepointObject, <TimepointObject as TryFrom<Val>>::Error>
fn try_from( v: Val, ) -> Result<TimepointObject, <TimepointObject as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for TimepointSmall
impl TryFrom<Val> for TimepointSmall
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: Val,
) -> Result<TimepointSmall, <TimepointSmall as TryFrom<Val>>::Error>
fn try_from( v: Val, ) -> Result<TimepointSmall, <TimepointSmall as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for TimepointVal
impl TryFrom<Val> for TimepointVal
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
v: Val,
) -> Result<TimepointVal, <TimepointVal as TryFrom<Val>>::Error>
fn try_from( v: Val, ) -> Result<TimepointVal, <TimepointVal as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for U128Object
impl TryFrom<Val> for U128Object
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: Val) -> Result<U128Object, <U128Object as TryFrom<Val>>::Error>
fn try_from(v: Val) -> Result<U128Object, <U128Object as TryFrom<Val>>::Error>
Performs the conversion.
Source§impl TryFrom<Val> for U256Object
impl TryFrom<Val> for U256Object
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(v: Val) -> Result<U256Object, <U256Object as TryFrom<Val>>::Error>
fn try_from(v: Val) -> Result<U256Object, <U256Object as TryFrom<Val>>::Error>
Performs the conversion.
Source§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>
Source§impl<E, T0> TryFromVal<E, &(T0,)> for Val
impl<E, T0> TryFromVal<E, &(T0,)> for Val
Source§impl<E, T0, T1> TryFromVal<E, &(T0, T1)> for Val
impl<E, T0, T1> TryFromVal<E, &(T0, T1)> for Val
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§impl<E, T> TryFromVal<E, &Option<T>> for Val
impl<E, T> TryFromVal<E, &Option<T>> for Val
Source§impl<E> TryFromVal<E, &ScVal> for Valwhere
E: Env,
Object: for<'a> TryFromVal<E, ScValObjRef<'a>>,
<Object as TryFromVal<E, ScValObjRef<'a>>>::Error: for<'a> Into<Error>,
impl<E> TryFromVal<E, &ScVal> for Valwhere
E: Env,
Object: for<'a> TryFromVal<E, ScValObjRef<'a>>,
<Object as TryFromVal<E, ScValObjRef<'a>>>::Error: for<'a> Into<Error>,
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§impl<E, T0> TryFromVal<E, (T0,)> for Val
impl<E, T0> TryFromVal<E, (T0,)> for Val
Source§impl<E, T0, T1> TryFromVal<E, (T0, T1)> for Val
impl<E, T0, T1> TryFromVal<E, (T0, T1)> for Val
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§impl<E, T> TryFromVal<E, Option<T>> for Val
impl<E, T> TryFromVal<E, Option<T>> for Val
Source§impl<E, T, R> TryFromVal<E, Result<T, R>> for Val
impl<E, T, R> TryFromVal<E, Result<T, R>> for Val
Source§impl<E> TryFromVal<E, ScVal> for Valwhere
E: Env,
Object: for<'a> TryFromVal<E, ScValObjRef<'a>>,
<Object as TryFromVal<E, ScValObjRef<'a>>>::Error: for<'a> Into<Error>,
impl<E> TryFromVal<E, ScVal> for Valwhere
E: Env,
Object: for<'a> TryFromVal<E, ScValObjRef<'a>>,
<Object as TryFromVal<E, ScValObjRef<'a>>>::Error: for<'a> Into<Error>,
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§impl<E, T0> TryFromVal<E, Val> for (T0,)
impl<E, T0> TryFromVal<E, Val> for (T0,)
Source§impl<E, T0, T1> TryFromVal<E, Val> for (T0, T1)
impl<E, T0, T1> TryFromVal<E, Val> for (T0, T1)
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§impl<E, T> TryFromVal<E, Val> for Option<T>
impl<E, T> TryFromVal<E, Val> for Option<T>
Source§impl<E, T, R> TryFromVal<E, Val> for Result<T, R>
impl<E, T, R> TryFromVal<E, Val> for Result<T, R>
Source§impl<E> TryFromVal<E, Val> for ScValwhere
E: Env,
ScValObject: TryFromVal<E, Object>,
<ScValObject as TryFromVal<E, Object>>::Error: Into<Error>,
impl<E> TryFromVal<E, Val> for ScValwhere
E: Env,
ScValObject: TryFromVal<E, Object>,
<ScValObject as TryFromVal<E, Object>>::Error: Into<Error>,
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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>
Source§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 Freeze for Val
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
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>
Source§impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
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>
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§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
.Source§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
.Source§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.Source§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.