IAdminGateway

Trait IAdminGateway 

Source
pub trait IAdminGateway {
    type Error;

    // Required methods
    fn handle_get_info<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<GatewayInfo, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn handle_list_channels_msg<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<ChannelInfo>, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn handle_payment_summary_msg<'life0, 'async_trait>(
        &'life0 self,
        __arg1: PaymentSummaryPayload,
    ) -> Pin<Box<dyn Future<Output = Result<PaymentSummaryResponse, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_password_hash(&self) -> String;
    fn gatewayd_version(&self) -> String;
}

Required Associated Types§

Required Methods§

Source

fn handle_get_info<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<GatewayInfo, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn handle_list_channels_msg<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<ChannelInfo>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn handle_payment_summary_msg<'life0, 'async_trait>( &'life0 self, __arg1: PaymentSummaryPayload, ) -> Pin<Box<dyn Future<Output = Result<PaymentSummaryResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_password_hash(&self) -> String

Source

fn gatewayd_version(&self) -> String

Implementors§