Trait ethcontract::contract::ParseLog
source · pub trait ParseLog: Sized + Send + Sync {
// Required method
fn parse_log(log: RawLog) -> Result<Self, ExecutionError>;
}Expand description
Trait for parsing a transaction log into an some event data when the expected event type is not known.
Required Methods§
sourcefn parse_log(log: RawLog) -> Result<Self, ExecutionError>
fn parse_log(log: RawLog) -> Result<Self, ExecutionError>
Create a new instance by parsing raw log data.
Object Safety§
This trait is not object safe.