ln_gateway::lightning

Trait LightningBuilder

source
pub trait LightningBuilder {
    // Required method
    fn build<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Box<dyn ILnRpcClient>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;

    // Provided method
    fn lightning_mode(&self) -> Option<LightningMode> { ... }
}

Required Methods§

source

fn build<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Box<dyn ILnRpcClient>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provided Methods§

Implementors§