Trait SolErrorEncode

pub trait SolErrorEncode {
    // Required method
    fn encode(&self) -> Vec<u8> ;
}
Expand description

Solidity ABI encode as error data.

Required Methods§

fn encode(&self) -> Vec<u8>

Solidity ABI encode the value into Solidity error data.

Implementations on Foreign Types§

§

impl SolErrorEncode for ()

§

fn encode(&self) -> Vec<u8>

§

impl<T> SolErrorEncode for &T
where T: SolErrorEncode,

§

fn encode(&self) -> Vec<u8>

§

impl<T> SolErrorEncode for &mut T
where T: SolErrorEncode,

§

fn encode(&self) -> Vec<u8>

Implementors§