Struct soroban_sdk::Val

pub struct Val(/* private fields */);
Expand description

Raw value of the Soroban smart contract platform that types can be converted to and from for storing, or passing between contracts.

Implementations§

§

impl Val

pub const fn can_represent_scval_type(scv_ty: ScValType) -> bool

Some ScVals are not representable as Vals at all, and only exist in the XDR to serve as special storage system key or value payloads managed by the Host.

pub fn can_represent_scval(scv: &ScVal) -> bool

pub fn is_good(self) -> bool

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

§

impl Val

pub const I32_ZERO: I32Val = _

pub const I32_MIN: I32Val = _

pub const I32_MAX: I32Val = _

pub const U32_ZERO: U32Val = _

pub const U32_ONE: U32Val = _

pub const U32_MIN: U32Val = _

pub const U32_MAX: U32Val = _

pub const VOID: Void = _

pub const TRUE: Bool = _

pub const FALSE: Bool = _

§

impl Val

pub const fn from_u32(u: u32) -> U32Val

pub const fn from_i32(i: i32) -> I32Val

Trait Implementations§

§

impl AsMut<Val> for AddressObject

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for Bool

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for BytesObject

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for DurationObject

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for DurationSmall

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for DurationVal

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for Error

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for I128Object

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for I128Small

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for I128Val

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for I256Object

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for I256Small

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for I256Val

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for I32Val

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for I64Object

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for I64Small

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for I64Val

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for MapObject

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for Object

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for StringObject

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for Symbol

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for SymbolObject

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for SymbolSmall

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for TimepointObject

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for TimepointSmall

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for TimepointVal

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for U128Object

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for U128Small

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for U128Val

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for U256Object

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for U256Small

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for U256Val

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for U32Val

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for U64Object

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for U64Small

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for U64Val

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for Val

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for VecObject

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsMut<Val> for Void

§

fn as_mut(&mut self) -> &mut Val

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsRef<Val> for AddressObject

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for Bool

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for BytesObject

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for DurationObject

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for DurationSmall

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for DurationVal

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for Error

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for I128Object

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for I128Small

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for I128Val

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for I256Object

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for I256Small

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for I256Val

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for I32Val

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for I64Object

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for I64Small

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for I64Val

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for MapObject

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for Object

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for StringObject

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for Symbol

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for SymbolObject

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for SymbolSmall

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for TimepointObject

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for TimepointSmall

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for TimepointVal

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for U128Object

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for U128Small

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for U128Val

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for U256Object

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for U256Small

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for U256Val

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for U32Val

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for U64Object

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for U64Small

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for U64Val

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for Val

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for VecObject

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<Val> for Void

§

fn as_ref(&self) -> &Val

Converts this type into a shared reference of the (usually inferred) input type.
§

impl CheckedEnvArg for Val

§

fn check_env_arg<E>(self, e: &E) -> Result<Val, <E as EnvBase>::Error>
where E: Env,

§

impl Clone for Val

§

fn clone(&self) -> Val

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Val

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Val

§

fn default() -> Val

Returns the “default value” for a type. Read more
§

impl From<&()> for Val

§

fn from(_: &()) -> Val

Converts to this type from the input type.
§

impl From<&AddressObject> for Val

§

fn from(b: &AddressObject) -> Val

Converts to this type from the input type.
§

impl From<&Bool> for Val

§

fn from(b: &Bool) -> Val

Converts to this type from the input type.
§

impl From<&BytesObject> for Val

§

fn from(b: &BytesObject) -> Val

Converts to this type from the input type.
§

impl From<&DurationObject> for Val

§

fn from(b: &DurationObject) -> Val

Converts to this type from the input type.
§

impl From<&DurationSmall> for Val

§

fn from(b: &DurationSmall) -> Val

Converts to this type from the input type.
§

impl From<&DurationVal> for Val

§

fn from(b: &DurationVal) -> Val

Converts to this type from the input type.
§

impl From<&Error> for Val

§

fn from(b: &Error) -> Val

Converts to this type from the input type.
§

impl From<&I128Object> for Val

§

fn from(b: &I128Object) -> Val

Converts to this type from the input type.
§

impl From<&I128Small> for Val

§

fn from(b: &I128Small) -> Val

Converts to this type from the input type.
§

impl From<&I128Val> for Val

§

fn from(b: &I128Val) -> Val

Converts to this type from the input type.
§

impl From<&I256Object> for Val

§

fn from(b: &I256Object) -> Val

Converts to this type from the input type.
§

impl From<&I256Small> for Val

§

fn from(b: &I256Small) -> Val

Converts to this type from the input type.
§

impl From<&I256Val> for Val

§

fn from(b: &I256Val) -> Val

Converts to this type from the input type.
§

impl From<&I32Val> for Val

§

fn from(b: &I32Val) -> Val

Converts to this type from the input type.
§

impl From<&I64Object> for Val

§

fn from(b: &I64Object) -> Val

Converts to this type from the input type.
§

impl From<&I64Small> for Val

§

fn from(b: &I64Small) -> Val

Converts to this type from the input type.
§

impl From<&I64Val> for Val

§

fn from(b: &I64Val) -> Val

Converts to this type from the input type.
§

impl From<&MapObject> for Val

§

fn from(b: &MapObject) -> Val

Converts to this type from the input type.
§

impl From<&Object> for Val

§

fn from(b: &Object) -> Val

Converts to this type from the input type.
§

impl From<&ScError> for Val

§

fn from(er: &ScError) -> Val

Converts to this type from the input type.
§

impl From<&StringObject> for Val

§

fn from(b: &StringObject) -> Val

Converts to this type from the input type.
§

impl From<&Symbol> for Val

§

fn from(b: &Symbol) -> Val

Converts to this type from the input type.
§

impl From<&SymbolObject> for Val

§

fn from(b: &SymbolObject) -> Val

Converts to this type from the input type.
§

impl From<&SymbolSmall> for Val

§

fn from(b: &SymbolSmall) -> Val

Converts to this type from the input type.
§

impl From<&TimepointObject> for Val

§

fn from(b: &TimepointObject) -> Val

Converts to this type from the input type.
§

impl From<&TimepointSmall> for Val

§

fn from(b: &TimepointSmall) -> Val

Converts to this type from the input type.
§

impl From<&TimepointVal> for Val

§

fn from(b: &TimepointVal) -> Val

Converts to this type from the input type.
§

impl From<&U128Object> for Val

§

fn from(b: &U128Object) -> Val

Converts to this type from the input type.
§

impl From<&U128Small> for Val

§

fn from(b: &U128Small) -> Val

Converts to this type from the input type.
§

impl From<&U128Val> for Val

§

fn from(b: &U128Val) -> Val

Converts to this type from the input type.
§

impl From<&U256Object> for Val

§

fn from(b: &U256Object) -> Val

Converts to this type from the input type.
§

impl From<&U256Small> for Val

§

fn from(b: &U256Small) -> Val

Converts to this type from the input type.
§

impl From<&U256Val> for Val

§

fn from(b: &U256Val) -> Val

Converts to this type from the input type.
§

impl From<&U32Val> for Val

§

fn from(b: &U32Val) -> Val

Converts to this type from the input type.
§

impl From<&U64Object> for Val

§

fn from(b: &U64Object) -> Val

Converts to this type from the input type.
§

impl From<&U64Small> for Val

§

fn from(b: &U64Small) -> Val

Converts to this type from the input type.
§

impl From<&U64Val> for Val

§

fn from(b: &U64Val) -> Val

Converts to this type from the input type.
§

impl From<&VecObject> for Val

§

fn from(b: &VecObject) -> Val

Converts to this type from the input type.
§

impl From<&Void> for Val

§

fn from(b: &Void) -> Val

Converts to this type from the input type.
§

impl From<&i32> for Val

§

fn from(i: &i32) -> Val

Converts to this type from the input type.
§

impl From<&u32> for Val

§

fn from(u: &u32) -> Val

Converts to this type from the input type.
§

impl From<()> for Val

§

fn from(_: ()) -> Val

Converts to this type from the input type.
§

impl From<AddressObject> for Val

§

fn from(b: AddressObject) -> Val

Converts to this type from the input type.
§

impl From<Bool> for Val

§

fn from(b: Bool) -> Val

Converts to this type from the input type.
source§

impl From<Bytes> for Val

source§

fn from(v: Bytes) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<BytesN<N>> for Val

source§

fn from(val: BytesN<N>) -> Val

Converts to this type from the input type.
source§

impl<const N: usize> From<BytesN<N>> for Val

source§

fn from(v: BytesN<N>) -> Self

Converts to this type from the input type.
§

impl From<BytesObject> for Val

§

fn from(b: BytesObject) -> Val

Converts to this type from the input type.
§

impl From<DurationObject> for Val

§

fn from(b: DurationObject) -> Val

Converts to this type from the input type.
§

impl From<DurationSmall> for Val

§

fn from(b: DurationSmall) -> Val

Converts to this type from the input type.
§

impl From<DurationVal> for Val

§

fn from(b: DurationVal) -> Val

Converts to this type from the input type.
§

impl From<Error> for Val

§

fn from(b: Error) -> Val

Converts to this type from the input type.
§

impl From<I128Object> for Val

§

fn from(b: I128Object) -> Val

Converts to this type from the input type.
§

impl From<I128Small> for Val

§

fn from(b: I128Small) -> Val

Converts to this type from the input type.
§

impl From<I128Val> for Val

§

fn from(b: I128Val) -> Val

Converts to this type from the input type.
§

impl From<I256Object> for Val

§

fn from(b: I256Object) -> Val

Converts to this type from the input type.
§

impl From<I256Small> for Val

§

fn from(b: I256Small) -> Val

Converts to this type from the input type.
§

impl From<I256Val> for Val

§

fn from(b: I256Val) -> Val

Converts to this type from the input type.
§

impl From<I32Val> for Val

§

fn from(b: I32Val) -> Val

Converts to this type from the input type.
§

impl From<I64Object> for Val

§

fn from(b: I64Object) -> Val

Converts to this type from the input type.
§

impl From<I64Small> for Val

§

fn from(b: I64Small) -> Val

Converts to this type from the input type.
§

impl From<I64Val> for Val

§

fn from(b: I64Val) -> Val

Converts to this type from the input type.
source§

impl<K, V> From<Map<K, V>> for Val

source§

fn from(m: Map<K, V>) -> Self

Converts to this type from the input type.
§

impl From<MapObject> for Val

§

fn from(b: MapObject) -> Val

Converts to this type from the input type.
§

impl From<Object> for Val

§

fn from(b: Object) -> Val

Converts to this type from the input type.
§

impl From<ScError> for Val

§

fn from(er: ScError) -> Val

Converts to this type from the input type.
source§

impl From<String> for Val

source§

fn from(v: String) -> Self

Converts to this type from the input type.
§

impl From<StringObject> for Val

§

fn from(b: StringObject) -> Val

Converts to this type from the input type.
§

impl From<Symbol> for Val

§

fn from(b: Symbol) -> Val

Converts to this type from the input type.
§

impl From<SymbolObject> for Val

§

fn from(b: SymbolObject) -> Val

Converts to this type from the input type.
§

impl From<SymbolSmall> for Val

§

fn from(b: SymbolSmall) -> Val

Converts to this type from the input type.
§

impl From<TimepointObject> for Val

§

fn from(b: TimepointObject) -> Val

Converts to this type from the input type.
§

impl From<TimepointSmall> for Val

§

fn from(b: TimepointSmall) -> Val

Converts to this type from the input type.
§

impl From<TimepointVal> for Val

§

fn from(b: TimepointVal) -> Val

Converts to this type from the input type.
§

impl From<U128Object> for Val

§

fn from(b: U128Object) -> Val

Converts to this type from the input type.
§

impl From<U128Small> for Val

§

fn from(b: U128Small) -> Val

Converts to this type from the input type.
§

impl From<U128Val> for Val

§

fn from(b: U128Val) -> Val

Converts to this type from the input type.
§

impl From<U256Object> for Val

§

fn from(b: U256Object) -> Val

Converts to this type from the input type.
§

impl From<U256Small> for Val

§

fn from(b: U256Small) -> Val

Converts to this type from the input type.
§

impl From<U256Val> for Val

§

fn from(b: U256Val) -> Val

Converts to this type from the input type.
§

impl From<U32Val> for Val

§

fn from(b: U32Val) -> Val

Converts to this type from the input type.
§

impl From<U64Object> for Val

§

fn from(b: U64Object) -> Val

Converts to this type from the input type.
§

impl From<U64Small> for Val

§

fn from(b: U64Small) -> Val

Converts to this type from the input type.
§

impl From<U64Val> for Val

§

fn from(b: U64Val) -> Val

Converts to this type from the input type.
source§

impl<T> From<Vec<T>> for Val
where T: IntoVal<Env, Val> + TryFromVal<Env, Val>,

source§

fn from(v: Vec<T>) -> Self

Converts to this type from the input type.
source§

impl From<Vec> for Val

source§

fn from(val: Vec) -> Val

Converts to this type from the input type.
§

impl From<VecObject> for Val

§

fn from(b: VecObject) -> Val

Converts to this type from the input type.
§

impl From<Void> for Val

§

fn from(b: Void) -> Val

Converts to this type from the input type.
§

impl From<bool> for Val

§

fn from(b: bool) -> Val

Converts to this type from the input type.
§

impl From<i32> for Val

§

fn from(i: i32) -> Val

Converts to this type from the input type.
§

impl From<u32> for Val

§

fn from(u: u32) -> Val

Converts to this type from the input type.
§

impl Hash for Val

§

fn hash<H>(&self, state: &mut H)
where H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl SorobanArbitrary for Val

Available on crate feature testutils only.
§

type Prototype = ArbitraryVal

A type that implements Arbitrary and can be converted to this SorobanArbitrary type.
§

impl TryFrom<&Val> for AddressObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<AddressObject, <AddressObject as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for Bool

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<Bool, <Bool as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for BytesObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<BytesObject, <BytesObject as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for DurationObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<DurationObject, <DurationObject as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for DurationSmall

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<DurationSmall, <DurationSmall as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for DurationVal

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<DurationVal, <DurationVal as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for Error

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<Error, <Error as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for I128Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<I128Object, <I128Object as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for I128Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<I128Small, <I128Small as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for I128Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<I128Val, <I128Val as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for I256Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<I256Object, <I256Object as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for I256Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<I256Small, <I256Small as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for I256Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<I256Val, <I256Val as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for I32Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<I32Val, <I32Val as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for I64Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<I64Object, <I64Object as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for I64Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<I64Small, <I64Small as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for I64Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<I64Val, <I64Val as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for MapObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<MapObject, <MapObject as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<Object, <Object as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for StringObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<StringObject, <StringObject as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for Symbol

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<Symbol, <Symbol as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for SymbolObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<SymbolObject, <SymbolObject as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for SymbolSmall

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<SymbolSmall, <SymbolSmall as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for TimepointObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<TimepointObject, <TimepointObject as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for TimepointSmall

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<TimepointSmall, <TimepointSmall as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for TimepointVal

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: &Val ) -> Result<TimepointVal, <TimepointVal as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for U128Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<U128Object, <U128Object as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for U128Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<U128Small, <U128Small as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for U128Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<U128Val, <U128Val as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for U256Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<U256Object, <U256Object as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for U256Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<U256Small, <U256Small as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for U256Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<U256Val, <U256Val as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for U32Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<U32Val, <U32Val as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for U64Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<U64Object, <U64Object as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for U64Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<U64Small, <U64Small as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for U64Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<U64Val, <U64Val as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for VecObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<VecObject, <VecObject as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<&Val> for Void

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: &Val) -> Result<Void, <Void as TryFrom<&Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for AddressObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: Val ) -> Result<AddressObject, <AddressObject as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for Bool

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<Bool, <Bool as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for BytesObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<BytesObject, <BytesObject as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for DurationObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: Val ) -> Result<DurationObject, <DurationObject as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for DurationSmall

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: Val ) -> Result<DurationSmall, <DurationSmall as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for DurationVal

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<DurationVal, <DurationVal as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for Error

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<Error, <Error as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for I128Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<I128Object, <I128Object as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for I128Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<I128Small, <I128Small as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for I128Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<I128Val, <I128Val as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for I256Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<I256Object, <I256Object as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for I256Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<I256Small, <I256Small as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for I256Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<I256Val, <I256Val as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for I32Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<I32Val, <I32Val as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for I64Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<I64Object, <I64Object as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for I64Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<I64Small, <I64Small as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for I64Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<I64Val, <I64Val as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for MapObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<MapObject, <MapObject as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<Object, <Object as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for StringObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: Val ) -> Result<StringObject, <StringObject as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for Symbol

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<Symbol, <Symbol as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for SymbolObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: Val ) -> Result<SymbolObject, <SymbolObject as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for SymbolSmall

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<SymbolSmall, <SymbolSmall as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for TimepointObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: Val ) -> Result<TimepointObject, <TimepointObject as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for TimepointSmall

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: Val ) -> Result<TimepointSmall, <TimepointSmall as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for TimepointVal

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from( v: Val ) -> Result<TimepointVal, <TimepointVal as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for U128Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<U128Object, <U128Object as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for U128Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<U128Small, <U128Small as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for U128Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<U128Val, <U128Val as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for U256Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<U256Object, <U256Object as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for U256Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<U256Small, <U256Small as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for U256Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<U256Val, <U256Val as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for U32Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<U32Val, <U32Val as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for U64Object

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<U64Object, <U64Object as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for U64Small

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<U64Small, <U64Small as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for U64Val

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<U64Val, <U64Val as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for VecObject

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<VecObject, <VecObject as TryFrom<Val>>::Error>

Performs the conversion.
§

impl TryFrom<Val> for Void

§

type Error = ConversionError

The type returned in the event of a conversion error.
§

fn try_from(v: Val) -> Result<Void, <Void as TryFrom<Val>>::Error>

Performs the conversion.
§

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

§

type Error = Error

§

fn try_from_val( env: &E, v: &&[u8] ) -> Result<Val, <Val as TryFromVal<E, &[u8]>>::Error>

§

impl<E> TryFromVal<E, &str> for Val
where E: Env,

§

type Error = Error

§

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

§

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

§

type Error = Error

§

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

§

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

§

type Error = ConversionError

§

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

§

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

§

type Error = Error

§

fn try_from_val( env: &E, v: &(T0,) ) -> Result<Val, <Val as TryFromVal<E, (T0,)>>::Error>

§

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

§

type Error = Error

§

fn try_from_val( env: &E, v: &(T0, T1) ) -> Result<Val, <Val as TryFromVal<E, (T0, T1)>>::Error>

§

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

§

type Error = Error

§

fn try_from_val( env: &E, v: &(T0, T1, T2) ) -> Result<Val, <Val as TryFromVal<E, (T0, T1, T2)>>::Error>

§

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

§

impl<E, T0, T1, T2, T3, T4> TryFromVal<E, (T0, T1, T2, T3, T4)> for Val
where 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, T5> TryFromVal<E, (T0, T1, T2, T3, T4, T5)> for Val
where 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, T6> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6)> for Val
where 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, T7> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7)> for Val
where 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, T8> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> for Val
where 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, T9> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for Val
where 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, T10> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for Val
where 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, T11> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for Val
where 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, T12> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for Val
where 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> TryFromVal<E, AddressObject> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Bool> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, BytesObject> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, DurationObject> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, DurationSmall> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, DurationVal> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Error> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, I128Object> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, I128Small> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, I128Val> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, I256> for Val
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &I256 ) -> Result<Val, <Val as TryFromVal<E, I256>>::Error>

§

impl<E> TryFromVal<E, I256Object> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, I256Small> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, I256Val> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, I32Val> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, I64Object> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, I64Small> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, I64Val> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, MapObject> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Object> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

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

§

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

§

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

§

impl<E, T, R> TryFromVal<E, Result<T, R>> for Val
where E: Env, Val: TryFromVal<E, T>, &'a R: for<'a> TryInto<Error>, <&'a R as TryInto<Error>>::Error: for<'a> Into<Error>,

§

type Error = Error

§

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

§

impl<E> TryFromVal<E, ScVal> for Val
where E: Env, Object: for<'a> TryFromVal<E, ScValObjRef<'a>, Error = ConversionError>,

§

impl<E> TryFromVal<E, String> for Val
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &String ) -> Result<Val, <Val as TryFromVal<E, String>>::Error>

§

impl<E> TryFromVal<E, StringObject> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Symbol> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, SymbolObject> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, SymbolSmall> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, TimepointObject> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, TimepointSmall> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, TimepointVal> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, U128Object> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, U128Small> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, U128Val> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, U256> for Val
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &U256 ) -> Result<Val, <Val as TryFromVal<E, U256>>::Error>

§

impl<E> TryFromVal<E, U256Object> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, U256Small> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, U256Val> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, U32Val> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, U64Object> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, U64Small> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, U64Val> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

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

§

type Error = Error

§

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

§

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

§

type Error = ConversionError

§

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

§

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

§

type Error = Error

§

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

§

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

§

type Error = Error

§

fn try_from_val( env: &E, val: &Val ) -> Result<(T0, T1), <(T0, T1) as TryFromVal<E, Val>>::Error>

§

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

§

type Error = Error

§

fn try_from_val( env: &E, val: &Val ) -> Result<(T0, T1, T2), <(T0, T1, T2) as TryFromVal<E, Val>>::Error>

§

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

§

impl<E, T0, T1, T2, T3, 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, 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, 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, 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, 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, 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, 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, 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, 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> TryFromVal<E, Val> for AddressObject
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for Bool
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for BytesObject
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for DurationObject
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for DurationSmall
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for DurationVal
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for Error
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for I128Object
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for I128Small
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for I128Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for I256
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &Val ) -> Result<I256, <I256 as TryFromVal<E, Val>>::Error>

§

impl<E> TryFromVal<E, Val> for I256Object
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for I256Small
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for I256Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for I32Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for I64Object
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for I64Small
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for I64Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for MapObject
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for Object
where E: Env,

§

type Error = ConversionError

§

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

§

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

§

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

§

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

§

impl<E, T, R> TryFromVal<E, Val> for Result<T, R>
where E: Env, T: TryFromVal<E, Val>, R: TryFrom<Error>, <R as TryFrom<Error>>::Error: Into<Error>,

§

type Error = Error

§

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

§

impl<E> TryFromVal<E, Val> for ScVal
where E: Env, ScValObject: TryFromVal<E, Object>,

§

impl<E> TryFromVal<E, Val> for String
where E: Env,

§

type Error = Error

§

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

§

impl<E> TryFromVal<E, Val> for StringObject
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for Symbol
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for SymbolObject
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for SymbolSmall
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for TimepointObject
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for TimepointSmall
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for TimepointVal
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for U128Object
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for U128Small
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for U128Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for U256
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &Val ) -> Result<U256, <U256 as TryFromVal<E, Val>>::Error>

§

impl<E> TryFromVal<E, Val> for U256Object
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for U256Small
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for U256Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for U32Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for U64Object
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for U64Small
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for U64Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

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

§

type Error = Error

§

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

§

impl<E> TryFromVal<E, Val> for VecObject
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for Void
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for bool
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for i128
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &Val ) -> Result<i128, <i128 as TryFromVal<E, Val>>::Error>

§

impl<E> TryFromVal<E, Val> for i32
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for i64
where E: Env,

§

type Error = Error

§

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

§

impl<E> TryFromVal<E, Val> for u128
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &Val ) -> Result<u128, <u128 as TryFromVal<E, Val>>::Error>

§

impl<E> TryFromVal<E, Val> for u32
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Val> for u64
where E: Env,

§

type Error = Error

§

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

§

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

§

type Error = Error

§

fn try_from_val( env: &E, v: &Vec<u8> ) -> Result<Val, <Val as TryFromVal<E, Vec<u8>>>::Error>

§

impl<E> TryFromVal<E, VecObject> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, Void> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, bool> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, i128> for Val
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &i128 ) -> Result<Val, <Val as TryFromVal<E, i128>>::Error>

§

impl<E> TryFromVal<E, i32> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, i64> for Val
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &i64 ) -> Result<Val, <Val as TryFromVal<E, i64>>::Error>

§

impl<E> TryFromVal<E, u128> for Val
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &u128 ) -> Result<Val, <Val as TryFromVal<E, u128>>::Error>

§

impl<E> TryFromVal<E, u32> for Val
where E: Env,

§

type Error = ConversionError

§

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

§

impl<E> TryFromVal<E, u64> for Val
where E: Env,

§

type Error = Error

§

fn try_from_val( env: &E, v: &u64 ) -> Result<Val, <Val as TryFromVal<E, u64>>::Error>

source§

impl TryFromVal<Env, &Address> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, &Duration> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, &I256> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, &Symbol> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, &Timepoint> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, &U256> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, Address> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, Bytes> for Val

§

type Error = ConversionError

source§

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

source§

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

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, Context> for Val

source§

impl TryFromVal<Env, ContractContext> for Val

source§

impl TryFromVal<Env, ContractExecutable> for Val

source§

impl TryFromVal<Env, CreateContractHostFnContext> for Val

source§

impl TryFromVal<Env, Duration> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, I256> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, InvokerContractAuthEntry> for Val

source§

impl<K, V> TryFromVal<Env, Map<K, V>> for Val

§

type Error = Infallible

source§

fn try_from_val(_env: &Env, v: &Map<K, V>) -> Result<Self, Self::Error>

source§

impl TryFromVal<Env, String> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, SubContractInvocation> for Val

source§

impl TryFromVal<Env, Symbol> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, Timepoint> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, U256> for Val

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Env, Val> for Address

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

impl TryFromVal<Env, Val> for Bytes

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

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

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

impl TryFromVal<Env, Val> for Context

source§

impl TryFromVal<Env, Val> for ContractContext

source§

impl TryFromVal<Env, Val> for ContractExecutable

source§

impl TryFromVal<Env, Val> for CreateContractHostFnContext

source§

impl TryFromVal<Env, Val> for Duration

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

impl TryFromVal<Env, Val> for I256

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

impl TryFromVal<Env, Val> for InvokerContractAuthEntry

source§

impl<K, V> TryFromVal<Env, Val> for Map<K, V>

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

impl TryFromVal<Env, Val> for String

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

impl TryFromVal<Env, Val> for SubContractInvocation

source§

impl TryFromVal<Env, Val> for Symbol

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

impl TryFromVal<Env, Val> for Timepoint

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

impl TryFromVal<Env, Val> for U256

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

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

§

type Error = ConversionError

source§

fn try_from_val(env: &Env, val: &Val) -> Result<Self, Self::Error>

source§

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

§

type Error = ConversionError

source§

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

source§

impl TryFromVal<Host, AccountEd25519Signature> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &AccountEd25519Signature ) -> Result<Val, <Val as TryFromVal<Host, AccountEd25519Signature>>::Error>

source§

impl TryFromVal<Host, Address> for Val

§

type Error = HostError

source§

fn try_from_val( _env: &Host, val: &Address ) -> Result<Val, <Val as TryFromVal<Host, Address>>::Error>

source§

impl TryFromVal<Host, AllowanceDataKey> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &AllowanceDataKey ) -> Result<Val, <Val as TryFromVal<Host, AllowanceDataKey>>::Error>

source§

impl TryFromVal<Host, AllowanceValue> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &AllowanceValue ) -> Result<Val, <Val as TryFromVal<Host, AllowanceValue>>::Error>

source§

impl TryFromVal<Host, AlphaNum12AssetInfo> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &AlphaNum12AssetInfo ) -> Result<Val, <Val as TryFromVal<Host, AlphaNum12AssetInfo>>::Error>

source§

impl TryFromVal<Host, AlphaNum4AssetInfo> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &AlphaNum4AssetInfo ) -> Result<Val, <Val as TryFromVal<Host, AlphaNum4AssetInfo>>::Error>

source§

impl TryFromVal<Host, AssetInfo> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &AssetInfo ) -> Result<Val, <Val as TryFromVal<Host, AssetInfo>>::Error>

source§

impl TryFromVal<Host, AuthorizationContext> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &AuthorizationContext ) -> Result<Val, <Val as TryFromVal<Host, AuthorizationContext>>::Error>

source§

impl TryFromVal<Host, BalanceValue> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &BalanceValue ) -> Result<Val, <Val as TryFromVal<Host, BalanceValue>>::Error>

source§

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

§

type Error = HostError

source§

fn try_from_val( _env: &Host, val: &BytesN<N> ) -> Result<Val, <Val as TryFromVal<Host, BytesN<N>>>::Error>

source§

impl TryFromVal<Host, ContractAuthorizationContext> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &ContractAuthorizationContext ) -> Result<Val, <Val as TryFromVal<Host, ContractAuthorizationContext>>::Error>

source§

impl TryFromVal<Host, ContractExecutable> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &ContractExecutable ) -> Result<Val, <Val as TryFromVal<Host, ContractExecutable>>::Error>

source§

impl TryFromVal<Host, CreateContractHostFnContext> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &CreateContractHostFnContext ) -> Result<Val, <Val as TryFromVal<Host, CreateContractHostFnContext>>::Error>

source§

impl TryFromVal<Host, DataKey> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &DataKey ) -> Result<Val, <Val as TryFromVal<Host, DataKey>>::Error>

source§

impl TryFromVal<Host, InstanceDataKey> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &InstanceDataKey ) -> Result<Val, <Val as TryFromVal<Host, InstanceDataKey>>::Error>

source§

impl TryFromVal<Host, InvokerContractAuthEntry> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &InvokerContractAuthEntry ) -> Result<Val, <Val as TryFromVal<Host, InvokerContractAuthEntry>>::Error>

source§

impl TryFromVal<Host, StellarAssetContractMetadata> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &StellarAssetContractMetadata ) -> Result<Val, <Val as TryFromVal<Host, StellarAssetContractMetadata>>::Error>

source§

impl TryFromVal<Host, String> for Val

§

type Error = HostError

source§

fn try_from_val( _env: &Host, val: &String ) -> Result<Val, <Val as TryFromVal<Host, String>>::Error>

source§

impl TryFromVal<Host, SubContractInvocation> for Val

§

type Error = HostError

source§

fn try_from_val( env: &Host, val: &SubContractInvocation ) -> Result<Val, <Val as TryFromVal<Host, SubContractInvocation>>::Error>

source§

impl TryFromVal<Host, Vec> for Val

§

type Error = HostError

source§

fn try_from_val( _env: &Host, val: &Vec ) -> Result<Val, <Val as TryFromVal<Host, Vec>>::Error>

§

impl WasmiMarshal for Val

§

fn try_marshal_from_value(v: Value) -> Option<Val>

§

fn marshal_from_self(self) -> Value

§

impl Copy for Val

Auto Trait Implementations§

§

impl RefUnwindSafe for Val

§

impl Send for Val

§

impl Sync for Val

§

impl Unpin for Val

§

impl UnwindSafe for Val

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T, C> Compare<&T> for C
where C: Compare<T>,

§

type Error = <C as Compare<T>>::Error

§

fn compare(&self, a: &&T, b: &&T) -> Result<Ordering, <C as Compare<&T>>::Error>

§

impl<T, U, E, C> Compare<(T, U)> for C
where C: Compare<T, Error = E, Error = E> + Compare<U>,

§

type Error = E

§

fn compare( &self, a: &(T, U), b: &(T, U) ) -> Result<Ordering, <C as Compare<(T, U)>>::Error>

§

impl<T, U, V, E, C> Compare<(T, U, V)> for C
where C: Compare<T, Error = E, Error = E, Error = E> + Compare<U> + Compare<V>,

§

type Error = E

§

fn compare( &self, a: &(T, U, V), b: &(T, U, V) ) -> Result<Ordering, <C as Compare<(T, U, V)>>::Error>

§

impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
where C: Compare<T, Error = E, Error = E, Error = E, Error = E> + Compare<U> + Compare<V> + Compare<W>,

§

type Error = E

§

fn compare( &self, a: &(T, U, V, W), b: &(T, U, V, W) ) -> Result<Ordering, <C as Compare<(T, U, V, W)>>::Error>

§

impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
where C: Compare<T, Error = E, Error = E, Error = E, Error = E, Error = E> + Compare<U> + Compare<V> + Compare<W> + Compare<X>,

§

type Error = E

§

fn compare( &self, a: &(T, U, V, W, X), b: &(T, U, V, W, X) ) -> Result<Ordering, <C as Compare<(T, U, V, W, X)>>::Error>

§

impl<T, C> Compare<Box<T>> for C
where C: Compare<T>,

§

type Error = <C as Compare<T>>::Error

§

fn compare( &self, a: &Box<T>, b: &Box<T> ) -> Result<Ordering, <C as Compare<Box<T>>>::Error>

§

impl<T, C> Compare<Option<T>> for C
where C: Compare<T>,

§

type Error = <C as Compare<T>>::Error

§

fn compare( &self, a: &Option<T>, b: &Option<T> ) -> Result<Ordering, <C as Compare<Option<T>>>::Error>

§

impl<T, C> Compare<Rc<T>> for C
where C: Compare<T>,

§

type Error = <C as Compare<T>>::Error

§

fn compare( &self, a: &Rc<T>, b: &Rc<T> ) -> Result<Ordering, <C as Compare<Rc<T>>>::Error>

§

impl<E> Compare<Val> for E
where E: Env,

§

type Error = <E as EnvBase>::Error

§

fn compare( &self, a: &Val, b: &Val ) -> Result<Ordering, <E as Compare<Val>>::Error>

§

impl<T, C> Compare<Vec<T>> for C
where C: Compare<T>,

§

type Error = <C as Compare<T>>::Error

§

fn compare( &self, a: &Vec<T>, b: &Vec<T> ) -> Result<Ordering, <C as Compare<Vec<T>>>::Error>

§

impl<T> Downcast for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<E, T, U> FromVal<E, T> for U
where E: Env, U: TryFromVal<E, T>,

source§

fn from_val(e: &E, v: &T) -> U

source§

impl<T> FromXdr for T
where T: TryFromVal<Env, Val>,

§

type Error = <T as TryFromVal<Env, Val>>::Error

source§

fn from_xdr(env: &Env, b: &Bytes) -> Result<T, <T as FromXdr>::Error>

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<E, T, U> IntoVal<E, T> for U
where E: Env, T: FromVal<E, U>,

source§

fn into_val(&self, e: &E) -> T

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToXdr for T
where T: IntoVal<Env, Val>,

source§

fn to_xdr(self, env: &Env) -> Bytes

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<E, T, U> TryIntoVal<E, T> for U
where E: Env, T: TryFromVal<E, U>,

§

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

§

fn try_into_val(&self, env: &E) -> Result<T, <U as TryIntoVal<E, T>>::Error>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V