fedimint_ln_clientTrait GatewayConnection
Source pub trait GatewayConnection: Debug {
// Required methods
fn verify_gateway_availability<'life0, 'life1, 'async_trait>(
&'life0 self,
gateway: &'life1 LightningGateway,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn pay_invoice<'life0, 'async_trait>(
&'life0 self,
gateway: LightningGateway,
payload: PayInvoicePayload,
) -> Pin<Box<dyn Future<Output = Result<String, GatewayPayError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}