Trait in3::eth1::abi::Decode[][src]

pub trait Decode {
#[must_use]    fn decode<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        fn_sig: &'life1 str,
        data: Bytes
    ) -> Pin<Box<dyn Future<Output = In3Result<Value>> + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Trait definition for ABI decode.

Required methods

#[must_use]fn decode<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    fn_sig: &'life1 str,
    data: Bytes
) -> Pin<Box<dyn Future<Output = In3Result<Value>> + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

ABI decode the given bytes data using given function signature as JSON.

Loading content...

Implementors

impl Decode for In3EthAbi[src]

fn decode<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    fn_sig: &'life1 str,
    data: Bytes
) -> Pin<Box<dyn Future<Output = In3Result<Value>> + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Decode implementation using IN3’s in3_abiDecode() RPC.

Loading content...