Trait SolErrorEncode

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

Solidity ABI encode as error data.

Required Methods§

Source

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

Solidity ABI encode the value into Solidity error data.

Implementations on Foreign Types§

Source§

impl SolErrorEncode for ()

Source§

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

Source§

impl<T: SolErrorEncode> SolErrorEncode for &T

Source§

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

Source§

impl<T: SolErrorEncode> SolErrorEncode for &mut T

Source§

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

Implementors§