breez_sdk_liquid::lightning::events

Trait MessageSendEventsProvider

pub trait MessageSendEventsProvider {
    // Required method
    fn get_and_clear_pending_msg_events(&self) -> Vec<MessageSendEvent>;
}
Expand description

A trait indicating an object may generate message send events

Required Methods§

fn get_and_clear_pending_msg_events(&self) -> Vec<MessageSendEvent>

Gets the list of pending events which were generated by previous actions, clearing the list in the process.

Implementors§

§

impl MessageSendEventsProvider for ErroringMessageHandler

§

impl MessageSendEventsProvider for IgnoringMessageHandler

§

impl<G, U, L> MessageSendEventsProvider for P2PGossipSync<G, U, L>
where G: Deref<Target = NetworkGraph<L>>, U: Deref, L: Deref, <U as Deref>::Target: UtxoLookup, <L as Deref>::Target: Logger,

§

impl<M, T, ES, NS, SP, F, R, L> MessageSendEventsProvider for ChannelManager<M, T, ES, NS, SP, F, R, L>
where M: Deref, T: Deref, ES: Deref, NS: Deref, SP: Deref, F: Deref, R: Deref, L: Deref, <M as Deref>::Target: Watch<<<SP as Deref>::Target as SignerProvider>::Signer>, <T as Deref>::Target: BroadcasterInterface, <ES as Deref>::Target: EntropySource, <NS as Deref>::Target: NodeSigner, <SP as Deref>::Target: SignerProvider, <F as Deref>::Target: FeeEstimator, <R as Deref>::Target: Router, <L as Deref>::Target: Logger,