breez_sdk_liquid::model

Trait EventListener

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

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

Required Methods§

source

fn on_event(&self, e: SdkEvent)

Implementors§