[][src]Trait rustabi::ParseLog

pub trait ParseLog {
type Log;
    fn parse_log(&self, log: RawLog) -> Result<Self::Log>;
}

trait common to things (events) that have an associated Log type that can be parsed from a RawLog

Associated Types

type Log

the associated Log type that can be parsed from a RawLog by calling parse_log

Loading content...

Required methods

fn parse_log(&self, log: RawLog) -> Result<Self::Log>

parse the associated Log type from a RawLog

Loading content...

Implementors

Loading content...