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§
fn indexed_event_encode(&self) -> Vec<H256>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.