[][src]Trait beacon_chain::events::EventHandler

pub trait EventHandler<T: EthSpec>: Sized + Send + Sync {
    fn register(&self, kind: EventKind<T>) -> Result<(), String>;
}

Required methods

fn register(&self, kind: EventKind<T>) -> Result<(), String>

Loading content...

Implementors

impl<T: EthSpec> EventHandler<T> for NullEventHandler<T>[src]

impl<T: EthSpec> EventHandler<T> for WebSocketSender<T>[src]

Loading content...