pub trait EventCodec {
// Required methods
fn event_signature(&self) -> Cow<'static, str>;
fn kind(&self) -> EventKind;
fn decode(&self, log: &RawLog) -> Result<Events, AbiError>;
}Expand description
Codec to deserialize Ethereum events.
Required Methods§
Sourcefn event_signature(&self) -> Cow<'static, str>
fn event_signature(&self) -> Cow<'static, str>
ABI signature of the Ethereum event.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".