Trait breez_sdk_core::SupportAPI

source ·
pub trait SupportAPI: Send + Sync {
    // Required methods
    fn service_health_check<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = SdkResult<ServiceHealthCheckResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn report_payment_failure<'life0, 'async_trait>(
        &'life0 self,
        node_state: NodeState,
        payment: Payment,
        lsp_id: Option<String>,
        comment: Option<String>,
    ) -> Pin<Box<dyn Future<Output = SdkResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Trait covering support-related functionality

Required Methods§

source

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

source

fn report_payment_failure<'life0, 'async_trait>( &'life0 self, node_state: NodeState, payment: Payment, lsp_id: Option<String>, comment: Option<String>, ) -> Pin<Box<dyn Future<Output = SdkResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§