pub trait PushTxNotifier:
    Send
    + Sync
    + 'static {
    // Required method
    fn register_tx_notification<'life0, 'async_trait>(
        &'life0 self,
        request: Request<PushTxNotificationRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<PushTxNotificationResponse>, 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 PushTxNotifierServer.

Required Methods§

fn register_tx_notification<'life0, 'async_trait>( &'life0 self, request: Request<PushTxNotificationRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<PushTxNotificationResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Implementors§