Trait ethers_contract::EthLogDecode [−][src]
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
fn 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