Trait PaymentNotifier
pub trait PaymentNotifier:
Send
+ Sync
+ 'static {
// Required methods
fn register_payment_notification<'life0, 'async_trait>(
&'life0 self,
request: Request<RegisterPaymentNotificationRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RegisterPaymentNotificationResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn remove_payment_notification<'life0, 'async_trait>(
&'life0 self,
request: Request<RemovePaymentNotificationRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RemovePaymentNotificationResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with PaymentNotifierServer.