soroban_env_common

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

Source

pub const fn shallow_eq(&self, other: &Self) -> 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 AddressObject

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 Bool

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 BytesObject

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 DurationObject

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 DurationSmall

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 DurationVal

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

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 I128Small

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 I128Val

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 I256Object

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 I256Small

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 I256Val

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 I32Val

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 I64Object

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 I64Small

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 I64Val

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 Object

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 StringObject

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 Symbol

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 SymbolObject

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 SymbolSmall

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 TimepointObject

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 TimepointSmall

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 TimepointVal

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 U128Object

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 U128Small

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 U128Val

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 U256Object

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 U256Small

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 U256Val

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 U32Val

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 U64Object

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 U64Small

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 U64Val

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 AsMut<Val> for Void

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 AddressObject

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for Bool

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for BytesObject

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for DurationObject

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for DurationSmall

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for DurationVal

Source§

fn as_ref(&self) -> &Val

Converts this type into a shared 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 I128Object

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for I128Small

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for I128Val

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for I256Object

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for I256Small

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for I256Val

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for I32Val

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for I64Object

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for I64Small

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for I64Val

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 Object

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for StringObject

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for Symbol

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for SymbolObject

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for SymbolSmall

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for TimepointObject

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for TimepointSmall

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for TimepointVal

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for U128Object

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for U128Small

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for U128Val

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for U256Object

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for U256Small

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for U256Val

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for U32Val

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for U64Object

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for U64Small

Source§

fn as_ref(&self) -> &Val

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

impl AsRef<Val> for U64Val

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 AsRef<Val> for Void

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: Env>(self, e: &E) -> Result<Self, E::Error>

Source§

impl Clone for Val

Source§

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

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

Source§

type Error = <E as EnvBase>::Error

Source§

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

Source§

impl Debug for Val

Source§

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

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

impl Default for Val

Source§

fn default() -> Self

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

impl From<&()> for Val

Source§

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

Converts to this type from the input type.
Source§

impl From<&AddressObject> for Val

Source§

fn from(b: &AddressObject) -> Self

Converts to this type from the input type.
Source§

impl From<&Bool> for Val

Source§

fn from(b: &Bool) -> Self

Converts to this type from the input type.
Source§

impl From<&BytesObject> for Val

Source§

fn from(b: &BytesObject) -> Self

Converts to this type from the input type.
Source§

impl From<&DurationObject> for Val

Source§

fn from(b: &DurationObject) -> Self

Converts to this type from the input type.
Source§

impl From<&DurationSmall> for Val

Source§

fn from(b: &DurationSmall) -> Self

Converts to this type from the input type.
Source§

impl From<&DurationVal> for Val

Source§

fn from(b: &DurationVal) -> Self

Converts to this type from the input type.
Source§

impl From<&Error> for Val

Source§

fn from(b: &Error) -> Self

Converts to this type from the input type.
Source§

impl From<&I128Object> for Val

Source§

fn from(b: &I128Object) -> Self

Converts to this type from the input type.
Source§

impl From<&I128Small> for Val

Source§

fn from(b: &I128Small) -> Self

Converts to this type from the input type.
Source§

impl From<&I128Val> for Val

Source§

fn from(b: &I128Val) -> Self

Converts to this type from the input type.
Source§

impl From<&I256Object> for Val

Source§

fn from(b: &I256Object) -> Self

Converts to this type from the input type.
Source§

impl From<&I256Small> for Val

Source§

fn from(b: &I256Small) -> Self

Converts to this type from the input type.
Source§

impl From<&I256Val> for Val

Source§

fn from(b: &I256Val) -> Self

Converts to this type from the input type.
Source§

impl From<&I32Val> for Val

Source§

fn from(b: &I32Val) -> Self

Converts to this type from the input type.
Source§

impl From<&I64Object> for Val

Source§

fn from(b: &I64Object) -> Self

Converts to this type from the input type.
Source§

impl From<&I64Small> for Val

Source§

fn from(b: &I64Small) -> Self

Converts to this type from the input type.
Source§

impl From<&I64Val> for Val

Source§

fn from(b: &I64Val) -> Self

Converts to this type from the input type.
Source§

impl From<&MapObject> for Val

Source§

fn from(b: &MapObject) -> Self

Converts to this type from the input type.
Source§

impl From<&Object> for Val

Source§

fn from(b: &Object) -> Self

Converts to this type from the input type.
Source§

impl From<&ScError> for Val

Source§

fn from(er: &ScError) -> Self

Converts to this type from the input type.
Source§

impl From<&StringObject> for Val

Source§

fn from(b: &StringObject) -> Self

Converts to this type from the input type.
Source§

impl From<&Symbol> for Val

Source§

fn from(b: &Symbol) -> Self

Converts to this type from the input type.
Source§

impl From<&SymbolObject> for Val

Source§

fn from(b: &SymbolObject) -> Self

Converts to this type from the input type.
Source§

impl From<&SymbolSmall> for Val

Source§

fn from(b: &SymbolSmall) -> Self

Converts to this type from the input type.
Source§

impl From<&TimepointObject> for Val

Source§

fn from(b: &TimepointObject) -> Self

Converts to this type from the input type.
Source§

impl From<&TimepointSmall> for Val

Source§

fn from(b: &TimepointSmall) -> Self

Converts to this type from the input type.
Source§

impl From<&TimepointVal> for Val

Source§

fn from(b: &TimepointVal) -> Self

Converts to this type from the input type.
Source§

impl From<&U128Object> for Val

Source§

fn from(b: &U128Object) -> Self

Converts to this type from the input type.
Source§

impl From<&U128Small> for Val

Source§

fn from(b: &U128Small) -> Self

Converts to this type from the input type.
Source§

impl From<&U128Val> for Val

Source§

fn from(b: &U128Val) -> Self

Converts to this type from the input type.
Source§

impl From<&U256Object> for Val

Source§

fn from(b: &U256Object) -> Self

Converts to this type from the input type.
Source§

impl From<&U256Small> for Val

Source§

fn from(b: &U256Small) -> Self

Converts to this type from the input type.
Source§

impl From<&U256Val> for Val

Source§

fn from(b: &U256Val) -> Self

Converts to this type from the input type.
Source§

impl From<&U32Val> for Val

Source§

fn from(b: &U32Val) -> Self

Converts to this type from the input type.
Source§

impl From<&U64Object> for Val

Source§

fn from(b: &U64Object) -> Self

Converts to this type from the input type.
Source§

impl From<&U64Small> for Val

Source§

fn from(b: &U64Small) -> Self

Converts to this type from the input type.
Source§

impl From<&U64Val> for Val

Source§

fn from(b: &U64Val) -> Self

Converts to this type from the input type.
Source§

impl From<&VecObject> for Val

Source§

fn from(b: &VecObject) -> Self

Converts to this type from the input type.
Source§

impl From<&Void> for Val

Source§

fn from(b: &Void) -> Self

Converts to this type from the input type.
Source§

impl From<&i32> for Val

Source§

fn from(i: &i32) -> Self

Converts to this type from the input type.
Source§

impl From<&u32> for Val

Source§

fn from(u: &u32) -> Self

Converts to this type from the input type.
Source§

impl From<()> for Val

Source§

fn from(_: ()) -> Self

Converts to this type from the input type.
Source§

impl From<AddressObject> for Val

Source§

fn from(b: AddressObject) -> Self

Converts to this type from the input type.
Source§

impl From<Bool> for Val

Source§

fn from(b: Bool) -> Self

Converts to this type from the input type.
Source§

impl From<BytesObject> for Val

Source§

fn from(b: BytesObject) -> Self

Converts to this type from the input type.
Source§

impl From<DurationObject> for Val

Source§

fn from(b: DurationObject) -> Self

Converts to this type from the input type.
Source§

impl From<DurationSmall> for Val

Source§

fn from(b: DurationSmall) -> Self

Converts to this type from the input type.
Source§

impl From<DurationVal> for Val

Source§

fn from(b: DurationVal) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Val

Source§

fn from(b: Error) -> Self

Converts to this type from the input type.
Source§

impl From<I128Object> for Val

Source§

fn from(b: I128Object) -> Self

Converts to this type from the input type.
Source§

impl From<I128Small> for Val

Source§

fn from(b: I128Small) -> Self

Converts to this type from the input type.
Source§

impl From<I128Val> for Val

Source§

fn from(b: I128Val) -> Self

Converts to this type from the input type.
Source§

impl From<I256Object> for Val

Source§

fn from(b: I256Object) -> Self

Converts to this type from the input type.
Source§

impl From<I256Small> for Val

Source§

fn from(b: I256Small) -> Self

Converts to this type from the input type.
Source§

impl From<I256Val> for Val

Source§

fn from(b: I256Val) -> Self

Converts to this type from the input type.
Source§

impl From<I32Val> for Val

Source§

fn from(b: I32Val) -> Self

Converts to this type from the input type.
Source§

impl From<I64Object> for Val

Source§

fn from(b: I64Object) -> Self

Converts to this type from the input type.
Source§

impl From<I64Small> for Val

Source§

fn from(b: I64Small) -> Self

Converts to this type from the input type.
Source§

impl From<I64Val> for Val

Source§

fn from(b: I64Val) -> Self

Converts to this type from the input type.
Source§

impl From<MapObject> for Val

Source§

fn from(b: MapObject) -> Self

Converts to this type from the input type.
Source§

impl From<Object> for Val

Source§

fn from(b: Object) -> Self

Converts to this type from the input type.
Source§

impl From<ScError> for Val

Source§

fn from(er: ScError) -> Self

Converts to this type from the input type.
Source§

impl From<StringObject> for Val

Source§

fn from(b: StringObject) -> Self

Converts to this type from the input type.
Source§

impl From<Symbol> for Val

Source§

fn from(b: Symbol) -> Self

Converts to this type from the input type.
Source§

impl From<SymbolObject> for Val

Source§

fn from(b: SymbolObject) -> Self

Converts to this type from the input type.
Source§

impl From<SymbolSmall> for Val

Source§

fn from(b: SymbolSmall) -> Self

Converts to this type from the input type.
Source§

impl From<TimepointObject> for Val

Source§

fn from(b: TimepointObject) -> Self

Converts to this type from the input type.
Source§

impl From<TimepointSmall> for Val

Source§

fn from(b: TimepointSmall) -> Self

Converts to this type from the input type.
Source§

impl From<TimepointVal> for Val

Source§

fn from(b: TimepointVal) -> Self

Converts to this type from the input type.
Source§

impl From<U128Object> for Val

Source§

fn from(b: U128Object) -> Self

Converts to this type from the input type.
Source§

impl From<U128Small> for Val

Source§

fn from(b: U128Small) -> Self

Converts to this type from the input type.
Source§

impl From<U128Val> for Val

Source§

fn from(b: U128Val) -> Self

Converts to this type from the input type.
Source§

impl From<U256Object> for Val

Source§

fn from(b: U256Object) -> Self

Converts to this type from the input type.
Source§

impl From<U256Small> for Val

Source§

fn from(b: U256Small) -> Self

Converts to this type from the input type.
Source§

impl From<U256Val> for Val

Source§

fn from(b: U256Val) -> Self

Converts to this type from the input type.
Source§

impl From<U32Val> for Val

Source§

fn from(b: U32Val) -> Self

Converts to this type from the input type.
Source§

impl From<U64Object> for Val

Source§

fn from(b: U64Object) -> Self

Converts to this type from the input type.
Source§

impl From<U64Small> for Val

Source§

fn from(b: U64Small) -> Self

Converts to this type from the input type.
Source§

impl From<U64Val> for Val

Source§

fn from(b: U64Val) -> Self

Converts to this type from the input type.
Source§

impl From<VecObject> for Val

Source§

fn from(b: VecObject) -> Self

Converts to this type from the input type.
Source§

impl From<Void> for Val

Source§

fn from(b: Void) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Val

Source§

fn from(b: bool) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Val

Source§

fn from(i: i32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Val

Source§

fn from(u: u32) -> Self

Converts to this type from the input type.
Source§

impl Hash for Val

Source§

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

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 TryFrom<&Val> for ()

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for AddressObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for Bool

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for BytesObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for DurationObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for DurationSmall

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for DurationVal

Source§

type Error = ConversionError

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

fn try_from(v: &Val) -> Result<Self, Self::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<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&Val> for I128Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for I128Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for I128Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for I256Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for I256Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for I256Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for I32Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for I64Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for I64Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for I64Val

Source§

type Error = ConversionError

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

fn try_from(v: &Val) -> Result<Self, Self::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<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&Val> for Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for StringObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for Symbol

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for SymbolObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for SymbolSmall

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for TimepointObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for TimepointSmall

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for TimepointVal

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for U128Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for U128Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for U128Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for U256Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for U256Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for U256Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for U32Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for U64Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for U64Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for U64Val

Source§

type Error = ConversionError

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

fn try_from(v: &Val) -> Result<Self, Self::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<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&Val> for Void

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for bool

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for i32

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<&Val> for u32

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for ()

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for AddressObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for Bool

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for BytesObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for DurationObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for DurationSmall

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for DurationVal

Source§

type Error = ConversionError

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

fn try_from(v: Val) -> Result<Self, Self::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<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Val> for I128Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for I128Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for I128Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for I256Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for I256Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for I256Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for I32Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for I64Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for I64Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for I64Val

Source§

type Error = ConversionError

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

fn try_from(v: Val) -> Result<Self, Self::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<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Val> for Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for StringObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for Symbol

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for SymbolObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for SymbolSmall

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for TimepointObject

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for TimepointSmall

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for TimepointVal

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for U128Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for U128Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for U128Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for U256Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for U256Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for U256Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for U32Val

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for U64Object

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for U64Small

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for U64Val

Source§

type Error = ConversionError

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

fn try_from(v: Val) -> Result<Self, Self::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<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Val> for Void

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for bool

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for i32

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

impl TryFrom<Val> for u32

Source§

type Error = ConversionError

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

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

Performs the conversion.
Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

fn try_from_val(_env: &E, val: &&()) -> Result<Self, Self::Error>

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

fn try_from_val(_env: &E, val: &&Error) -> Result<Self, Self::Error>

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

fn try_from_val(_env: &E, val: &()) -> Result<Self, Self::Error>

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

fn try_from_val(_env: &E, val: &Error) -> Result<Self, Self::Error>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<E: Env, T, R> TryFromVal<E, Val> for Result<T, R>
where 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<Self, Self::Error>

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

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

Source§

type Error = ConversionError

Source§

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

Source§

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

Source§

type Error = Error

Source§

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

Source§

impl WasmiMarshal for Val

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 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, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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<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<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> 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, 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>