ln_gateway::gateway_module_v2::api

Trait GatewayFederationApi

Source
pub trait GatewayFederationApi {
    // Required method
    fn outgoing_contract_expiration<'life0, 'life1, 'async_trait>(
        &'life0 self,
        contract_id: &'life1 ContractId,
    ) -> Pin<Box<dyn Future<Output = FederationResult<Option<u64>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn outgoing_contract_expiration<'life0, 'life1, 'async_trait>( &'life0 self, contract_id: &'life1 ContractId, ) -> Pin<Box<dyn Future<Output = FederationResult<Option<u64>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§