pub trait ParseLog { type Log; fn parse_log(&self, log: RawLog) -> Result<Self::Log, Error>; }
trait common to things (events) that have an associated Log type that can be parsed from a RawLog
Log
RawLog
the associated Log type that can be parsed from a RawLog by calling parse_log
parse_log
parse the associated Log type from a RawLog