Skip to main content

Val

Struct Val 

Source
pub struct Val(/* private fields */);

Implementations§

Source§

impl Val

Source

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.

Source

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.

Source

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.

Source

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.

Source

pub const fn get_payload(self) -> u64

Source

pub const fn from_payload(x: u64) -> Val

Source

pub const fn shallow_eq(&self, other: &Val) -> bool

Source

pub const fn get_tag(self) -> Tag

Source

pub const fn is_object(self) -> bool

Source

pub const fn from_void() -> Void

Source

pub const fn from_bool(b: bool) -> Bool

Source

pub const fn is_void(self) -> bool

Source

pub const fn is_true(self) -> bool

Source

pub const fn is_false(self) -> bool

Source§

impl Val

Source

pub const I32_ZERO: I32Val

Source

pub const I32_MIN: I32Val

Source

pub const I32_MAX: I32Val

Source

pub const U32_ZERO: U32Val

Source

pub const U32_ONE: U32Val

Source

pub const U32_MIN: U32Val

Source

pub const U32_MAX: U32Val

Source

pub const VOID: Void

Source

pub const TRUE: Bool

Source

pub const FALSE: Bool

Source§

impl Val

Source

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

Source

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

Trait Implementations§

Source§

impl AsMut<Val> for Error

Source§

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

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

impl AsMut<Val> for MapObject

Source§

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

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

impl AsMut<Val> for Val

Source§

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

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

impl AsMut<Val> for VecObject

Source§

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

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

impl AsRef<Val> for Error

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for MapObject

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for Val

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for VecObject

Source§

fn as_ref(&self) -> &Val

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

impl CheckedEnvArg for Val

Source§

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

Source§

impl Clone for Val

Source§

fn clone(&self) -> Val

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Val

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for Val

Source§

fn default() -> Val

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

impl From<&()> for Val

Source§

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

Converts to this type from the input type.
Source§

impl From<&AddressObject> for Val

Source§

fn from(b: &AddressObject) -> Val

Converts to this type from the input type.
Source§

impl From<&Bool> for Val

Source§

fn from(b: &Bool) -> Val

Converts to this type from the input type.
Source§

impl From<&BytesObject> for Val

Source§

fn from(b: &BytesObject) -> Val

Converts to this type from the input type.
Source§

impl From<&DurationObject> for Val

Source§

fn from(b: &DurationObject) -> Val

Converts to this type from the input type.
Source§

impl From<&DurationSmall> for Val

Source§

fn from(b: &DurationSmall) -> Val

Converts to this type from the input type.
Source§

impl From<&DurationVal> for Val

Source§

fn from(b: &DurationVal) -> Val

Converts to this type from the input type.
Source§

impl From<&Error> for Val

Source§

fn from(b: &Error) -> Val

Converts to this type from the input type.
Source§

impl From<&I128Object> for Val

Source§

fn from(b: &I128Object) -> Val

Converts to this type from the input type.
Source§

impl From<&I128Small> for Val

Source§

fn from(b: &I128Small) -> Val

Converts to this type from the input type.
Source§

impl From<&I128Val> for Val

Source§

fn from(b: &I128Val) -> Val

Converts to this type from the input type.
Source§

impl From<&I256Object> for Val

Source§

fn from(b: &I256Object) -> Val

Converts to this type from the input type.
Source§

impl From<&I256Small> for Val

Source§

fn from(b: &I256Small) -> Val

Converts to this type from the input type.
Source§

impl From<&I256Val> for Val

Source§

fn from(b: &I256Val) -> Val

Converts to this type from the input type.
Source§

impl From<&I32Val> for Val

Source§

fn from(b: &I32Val) -> Val

Converts to this type from the input type.
Source§

impl From<&I64Object> for Val

Source§

fn from(b: &I64Object) -> Val

Converts to this type from the input type.
Source§

impl From<&I64Small> for Val

Source§

fn from(b: &I64Small) -> Val

Converts to this type from the input type.
Source§

impl From<&I64Val> for Val

Source§

fn from(b: &I64Val) -> Val

Converts to this type from the input type.
Source§

impl From<&MapObject> for Val

Source§

fn from(b: &MapObject) -> Val

Converts to this type from the input type.
Source§

impl From<&MuxedAddressObject> for Val

Source§

fn from(b: &MuxedAddressObject) -> Val

Converts to this type from the input type.
Source§

impl From<&Object> for Val

Source§

fn from(b: &Object) -> Val

Converts to this type from the input type.
Source§

impl From<&ScError> for Val

Source§

fn from(er: &ScError) -> Val

Converts to this type from the input type.
Source§

impl From<&StringObject> for Val

Source§

fn from(b: &StringObject) -> Val

Converts to this type from the input type.
Source§

impl From<&Symbol> for Val

Source§

fn from(b: &Symbol) -> Val

Converts to this type from the input type.
Source§

impl From<&SymbolObject> for Val

Source§

fn from(b: &SymbolObject) -> Val

Converts to this type from the input type.
Source§

impl From<&SymbolSmall> for Val

Source§

fn from(b: &SymbolSmall) -> Val

Converts to this type from the input type.
Source§

impl From<&TimepointObject> for Val

Source§

fn from(b: &TimepointObject) -> Val

Converts to this type from the input type.
Source§

impl From<&TimepointSmall> for Val

Source§

fn from(b: &TimepointSmall) -> Val

Converts to this type from the input type.
Source§

impl From<&TimepointVal> for Val

Source§

fn from(b: &TimepointVal) -> Val

Converts to this type from the input type.
Source§

impl From<&U128Object> for Val

Source§

fn from(b: &U128Object) -> Val

Converts to this type from the input type.
Source§

impl From<&U128Small> for Val

Source§

fn from(b: &U128Small) -> Val

Converts to this type from the input type.
Source§

impl From<&U128Val> for Val

Source§

fn from(b: &U128Val) -> Val

Converts to this type from the input type.
Source§

impl From<&U256Object> for Val

Source§

fn from(b: &U256Object) -> Val

Converts to this type from the input type.
Source§

impl From<&U256Small> for Val

Source§

fn from(b: &U256Small) -> Val

Converts to this type from the input type.
Source§

impl From<&U256Val> for Val

Source§

fn from(b: &U256Val) -> Val

Converts to this type from the input type.
Source§

impl From<&U32Val> for Val

Source§

fn from(b: &U32Val) -> Val

Converts to this type from the input type.
Source§

impl From<&U64Object> for Val

Source§

fn from(b: &U64Object) -> Val

Converts to this type from the input type.
Source§

impl From<&U64Small> for Val

Source§

fn from(b: &U64Small) -> Val

Converts to this type from the input type.
Source§

impl From<&U64Val> for Val

Source§

fn from(b: &U64Val) -> Val

Converts to this type from the input type.
Source§

impl From<&VecObject> for Val

Source§

fn from(b: &VecObject) -> Val

Converts to this type from the input type.
Source§

impl From<&Void> for Val

Source§

fn from(b: &Void) -> Val

Converts to this type from the input type.
Source§

impl From<&i32> for Val

Source§

fn from(i: &i32) -> Val

Converts to this type from the input type.
Source§

impl From<&u32> for Val

Source§

fn from(u: &u32) -> Val

Converts to this type from the input type.
Source§

impl From<()> for Val

Source§

fn from(_: ()) -> Val

Converts to this type from the input type.
Source§

impl From<AddressObject> for Val

Source§

fn from(b: AddressObject) -> Val

Converts to this type from the input type.
Source§

impl From<Bool> for Val

Source§

fn from(b: Bool) -> Val

Converts to this type from the input type.
Source§

impl From<Bytes> for Val

Source§

fn from(v: Bytes) -> 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>) -> Val

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 From<BytesObject> for Val

Source§

fn from(b: BytesObject) -> Val

Converts to this type from the input type.
Source§

impl From<DurationObject> for Val

Source§

fn from(b: DurationObject) -> Val

Converts to this type from the input type.
Source§

impl From<DurationSmall> for Val

Source§

fn from(b: DurationSmall) -> Val

Converts to this type from the input type.
Source§

impl From<DurationVal> for Val

Source§

fn from(b: DurationVal) -> Val

Converts to this type from the input type.
Source§

impl From<Error> for Val

Source§

fn from(b: Error) -> Val

Converts to this type from the input type.
Source§

impl From<I128Object> for Val

Source§

fn from(b: I128Object) -> Val

Converts to this type from the input type.
Source§

impl From<I128Small> for Val

Source§

fn from(b: I128Small) -> Val

Converts to this type from the input type.
Source§

impl From<I128Val> for Val

Source§

fn from(b: I128Val) -> Val

Converts to this type from the input type.
Source§

impl From<I256Object> for Val

Source§

fn from(b: I256Object) -> Val

Converts to this type from the input type.
Source§

impl From<I256Small> for Val

Source§

fn from(b: I256Small) -> Val

Converts to this type from the input type.
Source§

impl From<I256Val> for Val

Source§

fn from(b: I256Val) -> Val

Converts to this type from the input type.
Source§

impl From<I32Val> for Val

Source§

fn from(b: I32Val) -> Val

Converts to this type from the input type.
Source§

impl From<I64Object> for Val

Source§

fn from(b: I64Object) -> Val

Converts to this type from the input type.
Source§

impl From<I64Small> for Val

Source§

fn from(b: I64Small) -> Val

Converts to this type from the input type.
Source§

impl From<I64Val> for Val

Source§

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>) -> Val

Converts to this type from the input type.
Source§

impl From<MapObject> for Val

Source§

fn from(b: MapObject) -> Val

Converts to this type from the input type.
Source§

impl From<MuxedAddressObject> for Val

Source§

fn from(b: MuxedAddressObject) -> Val

Converts to this type from the input type.
Source§

impl From<Object> for Val

Source§

fn from(b: Object) -> Val

Converts to this type from the input type.
Source§

impl From<ScError> for Val

Source§

fn from(er: ScError) -> Val

Converts to this type from the input type.
Source§

impl From<String> for Val

Source§

fn from(v: String) -> Val

Converts to this type from the input type.
Source§

impl From<StringObject> for Val

Source§

fn from(b: StringObject) -> Val

Converts to this type from the input type.
Source§

impl From<Symbol> for Val

Source§

fn from(b: Symbol) -> Val

Converts to this type from the input type.
Source§

impl From<SymbolObject> for Val

Source§

fn from(b: SymbolObject) -> Val

Converts to this type from the input type.
Source§

impl From<SymbolSmall> for Val

Source§

fn from(b: SymbolSmall) -> Val

Converts to this type from the input type.
Source§

impl From<TimepointObject> for Val

Source§

fn from(b: TimepointObject) -> Val

Converts to this type from the input type.
Source§

impl From<TimepointSmall> for Val

Source§

fn from(b: TimepointSmall) -> Val

Converts to this type from the input type.
Source§

impl From<TimepointVal> for Val

Source§

fn from(b: TimepointVal) -> Val

Converts to this type from the input type.
Source§

impl From<U128Object> for Val

Source§

fn from(b: U128Object) -> Val

Converts to this type from the input type.
Source§

impl From<U128Small> for Val

Source§

fn from(b: U128Small) -> Val

Converts to this type from the input type.
Source§

impl From<U128Val> for Val

Source§

fn from(b: U128Val) -> Val

Converts to this type from the input type.
Source§

impl From<U256Object> for Val

Source§

fn from(b: U256Object) -> Val

Converts to this type from the input type.
Source§

impl From<U256Small> for Val

Source§

fn from(b: U256Small) -> Val

Converts to this type from the input type.
Source§

impl From<U256Val> for Val

Source§

fn from(b: U256Val) -> Val

Converts to this type from the input type.
Source§

impl From<U32Val> for Val

Source§

fn from(b: U32Val) -> Val

Converts to this type from the input type.
Source§

impl From<U64Object> for Val

Source§

fn from(b: U64Object) -> Val

Converts to this type from the input type.
Source§

impl From<U64Small> for Val

Source§

fn from(b: U64Small) -> Val

Converts to this type from the input type.
Source§

impl From<U64Val> for Val

Source§

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>) -> Val

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.
Source§

impl From<VecObject> for Val

Source§

fn from(b: VecObject) -> Val

Converts to this type from the input type.
Source§

impl From<Void> for Val

Source§

fn from(b: Void) -> Val

Converts to this type from the input type.
Source§

impl From<bool> for Val

Source§

fn from(b: bool) -> Val

Converts to this type from the input type.
Source§

impl From<i32> for Val

Source§

fn from(i: i32) -> Val

Converts to this type from the input type.
Source§

impl From<u32> for Val

Source§

fn from(u: u32) -> Val

Converts to this type from the input type.
Source§

impl Hash for Val

Source§

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<const N: usize> IntoVal<Env, Val> for Hash<N>

Source§

fn into_val(&self, e: &Env) -> Val

Source§

impl TryFrom<&Val> for Error

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for MapObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for VecObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for Error

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for MapObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for VecObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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>,

Source§

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>,

Source§

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>,

Source§

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>,

Source§

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>,

Source§

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>,

Source§

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>,

Source§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for 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>,

Source§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for 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>,

Source§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for 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>,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<E> TryFromVal<E, &ScVal> for Val
where E: Env, Object: for<'a> TryFromVal<E, ScValObjRef<'a>>, <Object as TryFromVal<E, ScValObjRef<'a>>>::Error: for<'a> Into<Error>,

Available on crate feature std only.
Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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>,

Source§

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>,

Source§

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>,

Source§

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>,

Source§

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>,

Source§

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>,

Source§

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>,

Source§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for 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>,

Source§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for 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>,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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>,

Source§

type Error = Error

Source§

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

Source§

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

Available on crate feature std only.
Source§

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

Available on crate feature std only.
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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>,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
where E: Env, T0: TryFromVal<E, Val>, T1: TryFromVal<E, Val>, T2: TryFromVal<E, Val>, T3: TryFromVal<E, Val>, T4: TryFromVal<E, Val>, T5: TryFromVal<E, Val>, T6: TryFromVal<E, Val>, T7: TryFromVal<E, Val>, T8: TryFromVal<E, Val>,

Source§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
where E: Env, T0: TryFromVal<E, Val>, T1: TryFromVal<E, Val>, T2: TryFromVal<E, Val>, T3: TryFromVal<E, Val>, T4: TryFromVal<E, Val>, T5: TryFromVal<E, Val>, T6: TryFromVal<E, Val>, T7: TryFromVal<E, Val>, T8: TryFromVal<E, Val>, T9: TryFromVal<E, Val>,

Source§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where E: Env, T0: TryFromVal<E, Val>, T1: TryFromVal<E, Val>, T2: TryFromVal<E, Val>, T3: TryFromVal<E, Val>, T4: TryFromVal<E, Val>, T5: TryFromVal<E, Val>, T6: TryFromVal<E, Val>, T7: TryFromVal<E, Val>, T8: TryFromVal<E, Val>, T9: TryFromVal<E, Val>, T10: TryFromVal<E, Val>,

Source§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where E: Env, T0: TryFromVal<E, Val>, T1: TryFromVal<E, Val>, T2: TryFromVal<E, Val>, T3: TryFromVal<E, Val>, T4: TryFromVal<E, Val>, T5: TryFromVal<E, Val>, T6: TryFromVal<E, Val>, T7: TryFromVal<E, Val>, T8: TryFromVal<E, Val>, T9: TryFromVal<E, Val>, T10: TryFromVal<E, Val>, T11: TryFromVal<E, Val>,

Source§

impl<E, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where E: Env, T0: TryFromVal<E, Val>, T1: TryFromVal<E, Val>, T2: TryFromVal<E, Val>, T3: TryFromVal<E, Val>, T4: TryFromVal<E, Val>, T5: TryFromVal<E, Val>, T6: TryFromVal<E, Val>, T7: TryFromVal<E, Val>, T8: TryFromVal<E, Val>, T9: TryFromVal<E, Val>, T10: TryFromVal<E, Val>, T11: TryFromVal<E, Val>, T12: TryFromVal<E, Val>,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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>,

Source§

type Error = Error

Source§

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

Source§

impl<E> TryFromVal<E, Val> for ScVal

Available on crate feature std only.
Source§

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

Available on crate feature std only.
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Available on crate feature std only.
Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Available on crate feature std only.
Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl TryFromVal<Env, &Address> for Val

Source§

impl TryFromVal<Env, &Bls12381Fp> for Val

Source§

impl TryFromVal<Env, &Bls12381Fp2> for Val

Source§

impl TryFromVal<Env, &Bls12381G1Affine> for Val

Source§

impl TryFromVal<Env, &Bls12381G2Affine> for Val

Source§

impl TryFromVal<Env, &Bn254Fp> for Val

Source§

impl TryFromVal<Env, &Bn254G1Affine> for Val

Source§

impl TryFromVal<Env, &Bn254G2Affine> for Val

Source§

impl TryFromVal<Env, &Fr> for Val

Source§

impl TryFromVal<Env, &Bytes> for Val

Source§

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

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, &CreateContractWithConstructorHostFnContext> for Val

Source§

impl TryFromVal<Env, &Duration> for Val

Source§

impl TryFromVal<Env, &Executable> for Val

Source§

impl TryFromVal<Env, &Fr> for Val

Source§

impl TryFromVal<Env, &I256> for Val

Source§

impl TryFromVal<Env, &InvokerContractAuthEntry> for Val

Source§

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

Source§

type Error = Infallible

Source§

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

Source§

impl TryFromVal<Env, &MuxedAddress> for Val

Source§

impl TryFromVal<Env, &String> for Val

Source§

impl TryFromVal<Env, &SubContractInvocation> for Val

Source§

impl TryFromVal<Env, &Symbol> for Val

Source§

impl TryFromVal<Env, &Timepoint> for Val

Source§

impl TryFromVal<Env, &Token> for Val

Source§

impl TryFromVal<Env, &U256> for Val

Source§

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

Source§

impl TryFromVal<Env, Address> for Val

Source§

impl TryFromVal<Env, Bls12381Fp> for Val

Source§

impl TryFromVal<Env, Bls12381Fp2> for Val

Source§

impl TryFromVal<Env, Bls12381G1Affine> for Val

Source§

impl TryFromVal<Env, Bls12381G2Affine> for Val

Source§

impl TryFromVal<Env, Bn254Fp> for Val

Source§

impl TryFromVal<Env, Bn254G1Affine> for Val

Source§

impl TryFromVal<Env, Bn254G2Affine> for Val

Source§

impl TryFromVal<Env, Fr> for Val

Source§

impl TryFromVal<Env, Bytes> for Val

Source§

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

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, CreateContractWithConstructorHostFnContext> for Val

Source§

impl TryFromVal<Env, Duration> for Val

Source§

impl TryFromVal<Env, Executable> for Val

Source§

impl TryFromVal<Env, Fr> for Val

Source§

impl TryFromVal<Env, I256> for Val

Source§

impl TryFromVal<Env, InvokerContractAuthEntry> for Val

Source§

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

Source§

type Error = Infallible

Source§

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

Source§

impl TryFromVal<Env, MuxedAddress> for Val

Source§

impl TryFromVal<Env, String> for Val

Source§

impl TryFromVal<Env, SubContractInvocation> for Val

Source§

impl TryFromVal<Env, Symbol> for Val

Source§

impl TryFromVal<Env, Timepoint> for Val

Source§

impl TryFromVal<Env, Token> for Val

Source§

impl TryFromVal<Env, U256> for Val

Source§

impl TryFromVal<Env, Val> for Address

Source§

impl TryFromVal<Env, Val> for Bls12381Fp

Source§

impl TryFromVal<Env, Val> for Bls12381Fp2

Source§

impl TryFromVal<Env, Val> for Bls12381G1Affine

Source§

impl TryFromVal<Env, Val> for Bls12381G2Affine

Source§

impl TryFromVal<Env, Val> for Bn254Fp

Source§

impl TryFromVal<Env, Val> for Bn254G1Affine

Source§

impl TryFromVal<Env, Val> for Bn254G2Affine

Source§

impl TryFromVal<Env, Val> for Fr

Source§

impl TryFromVal<Env, Val> for Bytes

Source§

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

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 CreateContractWithConstructorHostFnContext

Source§

impl TryFromVal<Env, Val> for Duration

Source§

impl TryFromVal<Env, Val> for Executable

Source§

impl TryFromVal<Env, Val> for Fr

Source§

impl TryFromVal<Env, Val> for I256

Source§

impl TryFromVal<Env, Val> for InvokerContractAuthEntry

Source§

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

Source§

type Error = ConversionError

Source§

fn try_from_val( env: &Env, val: &Val, ) -> Result<Map<K, V>, <Map<K, V> as TryFromVal<Env, Val>>::Error>

Source§

impl TryFromVal<Env, Val> for MuxedAddress

Source§

impl TryFromVal<Env, Val> for String

Source§

impl TryFromVal<Env, Val> for SubContractInvocation

Source§

impl TryFromVal<Env, Val> for Symbol

Source§

impl TryFromVal<Env, Val> for Timepoint

Source§

impl TryFromVal<Env, Val> for Token

Source§

impl TryFromVal<Env, Val> for U256

Source§

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

Source§

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

Source§

impl TryFromVal<Host, AccountEd25519Signature> for Val

Source§

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

Source§

type Error = HostError

Source§

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

Source§

impl TryFromVal<Host, AddressExecutable> for Val

Source§

type Error = HostError

Source§

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

Source§

impl TryFromVal<Host, AllowanceDataKey> for Val

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = HostError

Source§

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

Source§

impl TryFromVal<Host, CreateContractWithConstructorHostFnContext> for Val

Source§

type Error = HostError

Source§

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

Source§

impl TryFromVal<Host, DataKey> for Val

Source§

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

Source§

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

Source§

type Error = HostError

Source§

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

Source§

impl TryFromVal<Host, MuxedAddress> for Val

Source§

type Error = HostError

Source§

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

Source§

impl TryFromVal<Host, StellarAssetContractMetadata> for Val

Source§

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

Source§

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

Source§

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

Source§

type Error = HostError

Source§

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

Source§

impl WasmiMarshal for Val

Available on crate feature wasmi only.
Source§

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 UnsafeUnpin 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
Source§

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

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = E

Source§

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

Source§

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>,

Source§

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>,

Source§

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>,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = <E as EnvBase>::Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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>

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)

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)

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

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

Source§

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

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>,

Source§

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<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
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

Source§

type Output = T

Should always be Self
Source§

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

Source§

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>,

Source§

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>,

Source§

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.
Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn vzip(self) -> V