pub trait EventIndexEncodable: Sized {
    // Required method
    fn indexed_event_encode(&self) -> Vec<H256>;
}
Expand description

A type implements EventIndexEncodable must be a tuple of types implement EventIndexEncodable. For convenient, for the tuple with only one element like (U256,), we implement EventIndexEncodable for U256 instead.

Required Methods§

source

fn indexed_event_encode(&self) -> Vec<H256>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl EventIndexEncodable for ()

source§

impl<A: ABIVariable, B: ABIVariable> EventIndexEncodable for (A, B)

source§

impl<A: ABIVariable, B: ABIVariable, C: ABIVariable> EventIndexEncodable for (A, B, C)

source§

impl<A: ABIVariable, B: ABIVariable, C: ABIVariable, D: ABIVariable> EventIndexEncodable for (A, B, C, D)

source§

impl<A: ABIVariable, B: ABIVariable, C: ABIVariable, D: ABIVariable, E: ABIVariable> EventIndexEncodable for (A, B, C, D, E)

Implementors§