pub trait BlockConsumer: Sync + Send + 'static {
    // Required method
    fn consume_block(&self, block: &Block, height: u32);
}

Required Methods§

source

fn consume_block(&self, block: &Block, height: u32)

Implementations on Foreign Types§

source§

impl BlockConsumer for Channel<(Block, u32)>

source§

fn consume_block(&self, block: &Block, height: u32)

Implementors§