Trait breez_sdk_core::EventListener

source ·
pub trait EventListener: Send + Sync {
    // Required method
    fn on_event(&self, e: BreezEvent);
}
Expand description

Trait that can be used to react to various BreezEvents emitted by the SDK.

Required Methods§

Implementors§