Trait SolErrorDecode

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

Source

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

Solidity ABI decode error data into this type.

Implementations on Foreign Types§

Source§

impl SolErrorDecode for ()

Source§

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

Implementors§