Skip to main content

EventApplicable

Trait EventApplicable 

Source
pub trait EventApplicable {
    // Required method
    fn apply_log(&mut self, event: &Log) -> Result<()>;
}
Expand description

Trait for applying events to pool state

Required Methods§

Source

fn apply_log(&mut self, event: &Log) -> Result<()>

Apply an event to update the pool state

Implementors§