Trait ethers_contract::EthLogDecode
source · pub trait EthLogDecode: Send + Sync {
fn decode_log(log: &RawLog) -> Result<Self, Error>
where
Self: Sized;
}
Expand description
A trait for types (events) that can be decoded from a RawLog
Required Methods§
sourcefn decode_log(log: &RawLog) -> Result<Self, Error>where
Self: Sized,
fn decode_log(log: &RawLog) -> Result<Self, Error>where
Self: Sized,
decode from a RawLog