pub trait EthLogDecode: Send + Sync {
    // Required method
    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§

source

fn decode_log(log: &RawLog) -> Result<Self, Error>
where Self: Sized,

decode from a RawLog

Implementors§