soroban_env_common

Trait WasmiMarshal

Source
pub trait WasmiMarshal: Sized {
    // Required methods
    fn try_marshal_from_value(v: Value) -> Option<Self>;
    fn marshal_from_self(self) -> Value;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl WasmiMarshal for i64

Source§

impl WasmiMarshal for u64

Implementors§

Source§

impl WasmiMarshal for StorageType

Source§

impl WasmiMarshal for DurationObject

Source§

impl WasmiMarshal for DurationSmall

Source§

impl WasmiMarshal for DurationVal

Source§

impl WasmiMarshal for I32Val

Source§

impl WasmiMarshal for I64Object

Source§

impl WasmiMarshal for I64Small

Source§

impl WasmiMarshal for I64Val

Source§

impl WasmiMarshal for I128Object

Source§

impl WasmiMarshal for I128Small

Source§

impl WasmiMarshal for I128Val

Source§

impl WasmiMarshal for I256Object

Source§

impl WasmiMarshal for I256Small

Source§

impl WasmiMarshal for I256Val

Source§

impl WasmiMarshal for TimepointObject

Source§

impl WasmiMarshal for TimepointSmall

Source§

impl WasmiMarshal for TimepointVal

Source§

impl WasmiMarshal for U32Val

Source§

impl WasmiMarshal for U64Object

Source§

impl WasmiMarshal for U64Small

Source§

impl WasmiMarshal for U64Val

Source§

impl WasmiMarshal for U128Object

Source§

impl WasmiMarshal for U128Small

Source§

impl WasmiMarshal for U128Val

Source§

impl WasmiMarshal for U256Object

Source§

impl WasmiMarshal for U256Small

Source§

impl WasmiMarshal for U256Val

Source§

impl WasmiMarshal for AddressObject

Source§

impl WasmiMarshal for Bool

Source§

impl WasmiMarshal for BytesObject

Source§

impl WasmiMarshal for Error

Source§

impl WasmiMarshal for MapObject

Source§

impl WasmiMarshal for Object

Source§

impl WasmiMarshal for StringObject

Source§

impl WasmiMarshal for Symbol

Source§

impl WasmiMarshal for SymbolObject

Source§

impl WasmiMarshal for SymbolSmall

Source§

impl WasmiMarshal for Val

Source§

impl WasmiMarshal for VecObject

Source§

impl WasmiMarshal for Void