Trait SolResultDecode

Source
pub trait SolResultDecode {
    // Required method
    fn decode(
        data: &[u8],
        did_revert: bool,
    ) -> Result<Self, SolResultDecodeError>
       where Self: Sized;
}
Expand description

Solidity ABI decode result data.

Required Methods§

Source

fn decode(data: &[u8], did_revert: bool) -> Result<Self, SolResultDecodeError>
where Self: Sized,

Solidity ABI decode result data into this type.

Implementations on Foreign Types§

Source§

impl<T, E> SolResultDecode for Result<T, E>

Source§

fn decode(data: &[u8], did_revert: bool) -> Result<Self, SolResultDecodeError>
where Self: Sized,

Implementors§

Source§

impl<T> SolResultDecode for T
where T: SolDecode,