Trait SolErrorDecode

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

Solidity ABI decode error data (if possible).

Required Methods§

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

Solidity ABI decode error data into this type.

Implementations on Foreign Types§

§

impl SolErrorDecode for ()

§

fn decode(data: &[u8]) -> Result<(), Error>
where (): Sized,

Implementors§