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) -> Self
pub const fn shallow_eq(&self, other: &Self) -> 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) -> Self
fn from(b: &AddressObject) -> Self
Converts to this type from the input type.
Source§impl From<&BytesObject> for Val
impl From<&BytesObject> for Val
Source§fn from(b: &BytesObject) -> Self
fn from(b: &BytesObject) -> Self
Converts to this type from the input type.
Source§impl From<&DurationObject> for Val
impl From<&DurationObject> for Val
Source§fn from(b: &DurationObject) -> Self
fn from(b: &DurationObject) -> Self
Converts to this type from the input type.
Source§impl From<&DurationSmall> for Val
impl From<&DurationSmall> for Val
Source§fn from(b: &DurationSmall) -> Self
fn from(b: &DurationSmall) -> Self
Converts to this type from the input type.
Source§impl From<&DurationVal> for Val
impl From<&DurationVal> for Val
Source§fn from(b: &DurationVal) -> Self
fn from(b: &DurationVal) -> Self
Converts to this type from the input type.
Source§impl From<&I128Object> for Val
impl From<&I128Object> for Val
Source§fn from(b: &I128Object) -> Self
fn from(b: &I128Object) -> Self
Converts to this type from the input type.
Source§impl From<&I256Object> for Val
impl From<&I256Object> for Val
Source§fn from(b: &I256Object) -> Self
fn from(b: &I256Object) -> Self
Converts to this type from the input type.
Source§impl From<&StringObject> for Val
impl From<&StringObject> for Val
Source§fn from(b: &StringObject) -> Self
fn from(b: &StringObject) -> Self
Converts to this type from the input type.
Source§impl From<&SymbolObject> for Val
impl From<&SymbolObject> for Val
Source§fn from(b: &SymbolObject) -> Self
fn from(b: &SymbolObject) -> Self
Converts to this type from the input type.
Source§impl From<&SymbolSmall> for Val
impl From<&SymbolSmall> for Val
Source§fn from(b: &SymbolSmall) -> Self
fn from(b: &SymbolSmall) -> Self
Converts to this type from the input type.
Source§impl From<&TimepointObject> for Val
impl From<&TimepointObject> for Val
Source§fn from(b: &TimepointObject) -> Self
fn from(b: &TimepointObject) -> Self
Converts to this type from the input type.
Source§impl From<&TimepointSmall> for Val
impl From<&TimepointSmall> for Val
Source§fn from(b: &TimepointSmall) -> Self
fn from(b: &TimepointSmall) -> Self
Converts to this type from the input type.
Source§impl From<&TimepointVal> for Val
impl From<&TimepointVal> for Val
Source§fn from(b: &TimepointVal) -> Self
fn from(b: &TimepointVal) -> Self
Converts to this type from the input type.
Source§impl From<&U128Object> for Val
impl From<&U128Object> for Val
Source§fn from(b: &U128Object) -> Self
fn from(b: &U128Object) -> Self
Converts to this type from the input type.
Source§impl From<&U256Object> for Val
impl From<&U256Object> for Val
Source§fn from(b: &U256Object) -> Self
fn from(b: &U256Object) -> Self
Converts to this type from the input type.
Source§impl From<AddressObject> for Val
impl From<AddressObject> for Val
Source§fn from(b: AddressObject) -> Self
fn from(b: AddressObject) -> Self
Converts to this type from the input type.
Source§impl From<BytesObject> for Val
impl From<BytesObject> for Val
Source§fn from(b: BytesObject) -> Self
fn from(b: BytesObject) -> Self
Converts to this type from the input type.
Source§impl From<DurationObject> for Val
impl From<DurationObject> for Val
Source§fn from(b: DurationObject) -> Self
fn from(b: DurationObject) -> Self
Converts to this type from the input type.
Source§impl From<DurationSmall> for Val
impl From<DurationSmall> for Val
Source§fn from(b: DurationSmall) -> Self
fn from(b: DurationSmall) -> Self
Converts to this type from the input type.
Source§impl From<DurationVal> for Val
impl From<DurationVal> for Val
Source§fn from(b: DurationVal) -> Self
fn from(b: DurationVal) -> Self
Converts to this type from the input type.
Source§impl From<I128Object> for Val
impl From<I128Object> for Val
Source§fn from(b: I128Object) -> Self
fn from(b: I128Object) -> Self
Converts to this type from the input type.
Source§impl From<I256Object> for Val
impl From<I256Object> for Val
Source§fn from(b: I256Object) -> Self
fn from(b: I256Object) -> Self
Converts to this type from the input type.
Source§impl From<StringObject> for Val
impl From<StringObject> for Val
Source§fn from(b: StringObject) -> Self
fn from(b: StringObject) -> Self
Converts to this type from the input type.
Source§impl From<SymbolObject> for Val
impl From<SymbolObject> for Val
Source§fn from(b: SymbolObject) -> Self
fn from(b: SymbolObject) -> Self
Converts to this type from the input type.
Source§impl From<SymbolSmall> for Val
impl From<SymbolSmall> for Val
Source§fn from(b: SymbolSmall) -> Self
fn from(b: SymbolSmall) -> Self
Converts to this type from the input type.
Source§impl From<TimepointObject> for Val
impl From<TimepointObject> for Val
Source§fn from(b: TimepointObject) -> Self
fn from(b: TimepointObject) -> Self
Converts to this type from the input type.
Source§impl From<TimepointSmall> for Val
impl From<TimepointSmall> for Val
Source§fn from(b: TimepointSmall) -> Self
fn from(b: TimepointSmall) -> Self
Converts to this type from the input type.
Source§impl From<TimepointVal> for Val
impl From<TimepointVal> for Val
Source§fn from(b: TimepointVal) -> Self
fn from(b: TimepointVal) -> Self
Converts to this type from the input type.
Source§impl From<U128Object> for Val
impl From<U128Object> for Val
Source§fn from(b: U128Object) -> Self
fn from(b: U128Object) -> Self
Converts to this type from the input type.
Source§impl From<U256Object> for Val
impl From<U256Object> for Val
Source§fn from(b: U256Object) -> Self
fn from(b: U256Object) -> Self
Converts to this type from the input type.
Source§impl TryFrom<&Val> for AddressObject
impl TryFrom<&Val> for AddressObject
Source§impl TryFrom<&Val> for BytesObject
impl TryFrom<&Val> for BytesObject
Source§impl TryFrom<&Val> for DurationObject
impl TryFrom<&Val> for DurationObject
Source§impl TryFrom<&Val> for DurationSmall
impl TryFrom<&Val> for DurationSmall
Source§impl TryFrom<&Val> for DurationVal
impl TryFrom<&Val> for DurationVal
Source§impl TryFrom<&Val> for I128Object
impl TryFrom<&Val> for I128Object
Source§impl TryFrom<&Val> for I256Object
impl TryFrom<&Val> for I256Object
Source§impl TryFrom<&Val> for StringObject
impl TryFrom<&Val> for StringObject
Source§impl TryFrom<&Val> for SymbolObject
impl TryFrom<&Val> for SymbolObject
Source§impl TryFrom<&Val> for SymbolSmall
impl TryFrom<&Val> for SymbolSmall
Source§impl TryFrom<&Val> for TimepointObject
impl TryFrom<&Val> for TimepointObject
Source§impl TryFrom<&Val> for TimepointSmall
impl TryFrom<&Val> for TimepointSmall
Source§impl TryFrom<&Val> for TimepointVal
impl TryFrom<&Val> for TimepointVal
Source§impl TryFrom<&Val> for U128Object
impl TryFrom<&Val> for U128Object
Source§impl TryFrom<&Val> for U256Object
impl TryFrom<&Val> for U256Object
Source§impl TryFrom<Val> for AddressObject
impl TryFrom<Val> for AddressObject
Source§impl TryFrom<Val> for BytesObject
impl TryFrom<Val> for BytesObject
Source§impl TryFrom<Val> for DurationObject
impl TryFrom<Val> for DurationObject
Source§impl TryFrom<Val> for DurationSmall
impl TryFrom<Val> for DurationSmall
Source§impl TryFrom<Val> for DurationVal
impl TryFrom<Val> for DurationVal
Source§impl TryFrom<Val> for I128Object
impl TryFrom<Val> for I128Object
Source§impl TryFrom<Val> for I256Object
impl TryFrom<Val> for I256Object
Source§impl TryFrom<Val> for StringObject
impl TryFrom<Val> for StringObject
Source§impl TryFrom<Val> for SymbolObject
impl TryFrom<Val> for SymbolObject
Source§impl TryFrom<Val> for SymbolSmall
impl TryFrom<Val> for SymbolSmall
Source§impl TryFrom<Val> for TimepointObject
impl TryFrom<Val> for TimepointObject
Source§impl TryFrom<Val> for TimepointSmall
impl TryFrom<Val> for TimepointSmall
Source§impl TryFrom<Val> for TimepointVal
impl TryFrom<Val> for TimepointVal
Source§impl TryFrom<Val> for U128Object
impl TryFrom<Val> for U128Object
Source§impl TryFrom<Val> for U256Object
impl TryFrom<Val> for U256Object
Source§impl<E: Env, T0> TryFromVal<E, &(T0,)> for Valwhere
T0: TryIntoVal<E, Val>,
impl<E: Env, T0> TryFromVal<E, &(T0,)> for Valwhere
T0: TryIntoVal<E, Val>,
Source§impl<E: Env, T0, T1, T2> TryFromVal<E, &(T0, T1, T2)> for Val
impl<E: Env, T0, T1, T2> TryFromVal<E, &(T0, T1, T2)> for Val
Source§impl<E: Env, T0, T1, T2, T3> TryFromVal<E, &(T0, T1, T2, T3)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3> TryFromVal<E, &(T0, T1, T2, T3)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
Source§impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, &(T0, T1, T2, T3, T4)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, &(T0, T1, T2, T3, T4)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, &(T0, T1, T2, T3, T4, T5)> for Valwhere
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: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, &(T0, T1, T2, T3, T4, T5)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6)> for Valwhere
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: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6)> for Valwhere
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>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6, T7)> for Valwhere
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: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6, T7)> for Valwhere
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>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6, T7, T8)> for Valwhere
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: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6, T7, T8)> for Valwhere
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>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for Valwhere
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: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for Valwhere
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>,
Source§impl<E: Env, 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
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: Env, 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
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>,
Source§impl<E: Env, 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
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: Env, 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
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>,
Source§impl<E: Env, 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
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: Env, 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
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>,
Source§impl<E: Env> TryFromVal<E, &AddressObject> for Val
impl<E: Env> TryFromVal<E, &AddressObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&AddressObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &BytesObject> for Val
impl<E: Env> TryFromVal<E, &BytesObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&BytesObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &DurationObject> for Val
impl<E: Env> TryFromVal<E, &DurationObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&DurationObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &DurationSmall> for Val
impl<E: Env> TryFromVal<E, &DurationSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&DurationSmall) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &DurationVal> for Val
impl<E: Env> TryFromVal<E, &DurationVal> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&DurationVal) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &I128Object> for Val
impl<E: Env> TryFromVal<E, &I128Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&I128Object) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &I256Object> for Val
impl<E: Env> TryFromVal<E, &I256Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&I256Object) -> Result<Self, Self::Error>
Source§impl<E: Env, T> TryFromVal<E, &Option<T>> for Valwhere
T: TryIntoVal<E, Val>,
impl<E: Env, T> TryFromVal<E, &Option<T>> for Valwhere
T: TryIntoVal<E, Val>,
Source§impl<E: Env> TryFromVal<E, &ScVal> for Valwhere
Object: for<'a> TryFromVal<E, ScValObjRef<'a>>,
for<'a> <Object as TryFromVal<E, ScValObjRef<'a>>>::Error: Into<Error>,
impl<E: Env> TryFromVal<E, &ScVal> for Valwhere
Object: for<'a> TryFromVal<E, ScValObjRef<'a>>,
for<'a> <Object as TryFromVal<E, ScValObjRef<'a>>>::Error: Into<Error>,
Source§impl<E: Env> TryFromVal<E, &StringObject> for Val
impl<E: Env> TryFromVal<E, &StringObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&StringObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &SymbolObject> for Val
impl<E: Env> TryFromVal<E, &SymbolObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&SymbolObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &SymbolSmall> for Val
impl<E: Env> TryFromVal<E, &SymbolSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&SymbolSmall) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &TimepointObject> for Val
impl<E: Env> TryFromVal<E, &TimepointObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&TimepointObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &TimepointSmall> for Val
impl<E: Env> TryFromVal<E, &TimepointSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&TimepointSmall) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &TimepointVal> for Val
impl<E: Env> TryFromVal<E, &TimepointVal> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&TimepointVal) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &U128Object> for Val
impl<E: Env> TryFromVal<E, &U128Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&U128Object) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, &U256Object> for Val
impl<E: Env> TryFromVal<E, &U256Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&U256Object) -> Result<Self, Self::Error>
Source§impl<E: Env, T0> TryFromVal<E, (T0,)> for Valwhere
T0: TryIntoVal<E, Val>,
impl<E: Env, T0> TryFromVal<E, (T0,)> for Valwhere
T0: TryIntoVal<E, Val>,
Source§impl<E: Env, T0, T1, T2> TryFromVal<E, (T0, T1, T2)> for Val
impl<E: Env, T0, T1, T2> TryFromVal<E, (T0, T1, T2)> for Val
Source§impl<E: Env, T0, T1, T2, T3> TryFromVal<E, (T0, T1, T2, T3)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3> TryFromVal<E, (T0, T1, T2, T3)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
Source§impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, (T0, T1, T2, T3, T4)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, (T0, T1, T2, T3, T4)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, (T0, T1, T2, T3, T4, T5)> for Valwhere
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: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, (T0, T1, T2, T3, T4, T5)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6)> for Valwhere
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: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6)> for Valwhere
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>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7)> for Valwhere
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: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7)> for Valwhere
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>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> for Valwhere
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: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> for Valwhere
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>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for Valwhere
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: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for Valwhere
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>,
Source§impl<E: Env, 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
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: Env, 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
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>,
Source§impl<E: Env, 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
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: Env, 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
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>,
Source§impl<E: Env, 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
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: Env, 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
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>,
Source§impl<E: Env> TryFromVal<E, AddressObject> for Val
impl<E: Env> TryFromVal<E, AddressObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &AddressObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, BytesObject> for Val
impl<E: Env> TryFromVal<E, BytesObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &BytesObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, DurationObject> for Val
impl<E: Env> TryFromVal<E, DurationObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &DurationObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, DurationSmall> for Val
impl<E: Env> TryFromVal<E, DurationSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &DurationSmall) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, DurationVal> for Val
impl<E: Env> TryFromVal<E, DurationVal> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &DurationVal) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, I128Object> for Val
impl<E: Env> TryFromVal<E, I128Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I128Object) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, I256Object> for Val
impl<E: Env> TryFromVal<E, I256Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I256Object) -> Result<Self, Self::Error>
Source§impl<E: Env, T> TryFromVal<E, Option<T>> for Valwhere
T: TryIntoVal<E, Val>,
impl<E: Env, T> TryFromVal<E, Option<T>> for Valwhere
T: TryIntoVal<E, Val>,
Source§impl<E: Env> TryFromVal<E, ScVal> for Valwhere
Object: for<'a> TryFromVal<E, ScValObjRef<'a>>,
for<'a> <Object as TryFromVal<E, ScValObjRef<'a>>>::Error: Into<Error>,
impl<E: Env> TryFromVal<E, ScVal> for Valwhere
Object: for<'a> TryFromVal<E, ScValObjRef<'a>>,
for<'a> <Object as TryFromVal<E, ScValObjRef<'a>>>::Error: Into<Error>,
Source§impl<E: Env> TryFromVal<E, StringObject> for Val
impl<E: Env> TryFromVal<E, StringObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &StringObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, SymbolObject> for Val
impl<E: Env> TryFromVal<E, SymbolObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &SymbolObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, SymbolSmall> for Val
impl<E: Env> TryFromVal<E, SymbolSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &SymbolSmall) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, TimepointObject> for Val
impl<E: Env> TryFromVal<E, TimepointObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &TimepointObject) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, TimepointSmall> for Val
impl<E: Env> TryFromVal<E, TimepointSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &TimepointSmall) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, TimepointVal> for Val
impl<E: Env> TryFromVal<E, TimepointVal> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &TimepointVal) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, U128Object> for Val
impl<E: Env> TryFromVal<E, U128Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U128Object) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, U256Object> for Val
impl<E: Env> TryFromVal<E, U256Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U256Object) -> Result<Self, Self::Error>
Source§impl<E: Env, T0> TryFromVal<E, Val> for (T0,)where
T0: TryFromVal<E, Val>,
impl<E: Env, T0> TryFromVal<E, Val> for (T0,)where
T0: TryFromVal<E, Val>,
Source§impl<E: Env, T0, T1, T2> TryFromVal<E, Val> for (T0, T1, T2)
impl<E: Env, T0, T1, T2> TryFromVal<E, Val> for (T0, T1, T2)
Source§impl<E: Env, T0, T1, T2, T3> TryFromVal<E, Val> for (T0, T1, T2, T3)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3> TryFromVal<E, Val> for (T0, T1, T2, T3)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
Source§impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, Val> for (T0, T1, T2, T3, T4)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, Val> for (T0, T1, T2, T3, T4)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5)where
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: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6)where
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: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6)where
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>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7)where
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: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7)where
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>,
Source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
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: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
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>,
Source§impl<E: Env, 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
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: Env, 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
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>,
Source§impl<E: Env, 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
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: Env, 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
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>,
Source§impl<E: Env, 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
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: Env, 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
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>,
Source§impl<E: Env, 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
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: Env, 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
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>,
Source§impl<E: Env> TryFromVal<E, Val> for AddressObject
impl<E: Env> TryFromVal<E, Val> for AddressObject
Source§impl<E: Env> TryFromVal<E, Val> for BytesObject
impl<E: Env> TryFromVal<E, Val> for BytesObject
Source§impl<E: Env> TryFromVal<E, Val> for DurationObject
impl<E: Env> TryFromVal<E, Val> for DurationObject
Source§impl<E: Env> TryFromVal<E, Val> for DurationSmall
impl<E: Env> TryFromVal<E, Val> for DurationSmall
Source§impl<E: Env> TryFromVal<E, Val> for DurationVal
impl<E: Env> TryFromVal<E, Val> for DurationVal
Source§impl<E: Env> TryFromVal<E, Val> for I128Object
impl<E: Env> TryFromVal<E, Val> for I128Object
Source§impl<E: Env> TryFromVal<E, Val> for I256Object
impl<E: Env> TryFromVal<E, Val> for I256Object
Source§impl<E: Env, T> TryFromVal<E, Val> for Option<T>where
T: TryFromVal<E, Val>,
impl<E: Env, T> TryFromVal<E, Val> for Option<T>where
T: TryFromVal<E, Val>,
Source§impl<E: Env> TryFromVal<E, Val> for ScValwhere
ScValObject: TryFromVal<E, Object>,
<ScValObject as TryFromVal<E, Object>>::Error: Into<Error>,
impl<E: Env> TryFromVal<E, Val> for ScValwhere
ScValObject: TryFromVal<E, Object>,
<ScValObject as TryFromVal<E, Object>>::Error: Into<Error>,
Source§impl<E: Env> TryFromVal<E, Val> for StringObject
impl<E: Env> TryFromVal<E, Val> for StringObject
Source§impl<E: Env> TryFromVal<E, Val> for SymbolObject
impl<E: Env> TryFromVal<E, Val> for SymbolObject
Source§impl<E: Env> TryFromVal<E, Val> for SymbolSmall
impl<E: Env> TryFromVal<E, Val> for SymbolSmall
Source§impl<E: Env> TryFromVal<E, Val> for TimepointObject
impl<E: Env> TryFromVal<E, Val> for TimepointObject
Source§impl<E: Env> TryFromVal<E, Val> for TimepointSmall
impl<E: Env> TryFromVal<E, Val> for TimepointSmall
Source§impl<E: Env> TryFromVal<E, Val> for TimepointVal
impl<E: Env> TryFromVal<E, Val> for TimepointVal
Source§impl<E: Env> TryFromVal<E, Val> for U128Object
impl<E: Env> TryFromVal<E, Val> for U128Object
Source§impl<E: Env> TryFromVal<E, Val> for U256Object
impl<E: Env> TryFromVal<E, Val> for U256Object
Source§impl WasmiMarshal for Val
impl WasmiMarshal for Val
fn try_marshal_from_value(v: Value) -> Option<Self>
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.